Skip to content

Commit f83fd7f

Browse files
committed
Update Mac license to exclude garbage characters
1 parent f838bb4 commit f83fd7f

1 file changed

Lines changed: 10 additions & 35 deletions

File tree

release/mac/dmgbuild_settings.py

Lines changed: 10 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -207,41 +207,16 @@ def icon_from_app(app_path):
207207
# RTF (in which case it must start "{\rtf1"), or a path to a file
208208
# containing the license text. If you're using RTF,
209209
# watch out for Python escaping (or read it from a file).
210-
"en_US": b"""{
211-
\\rtf1\\ansi\\ansicpg1252\\cocoartf1504\\cocoasubrtf820
212-
{\\fonttbl\\f0\\fnil\\fcharset0 Helvetica-Bold;\\f1\\fnil\\fcharset0 Helvetica;}
213-
{\\colortbl;\\red255\\green255\\blue255;\\red0\\green0\\blue0;}
214-
{\\*\\expandedcolortbl;;\\cssrgb\\c0\\c0\\c0;}
215-
\\paperw11905\\paperh16837\\margl1133\\margr1133\\margb1133\\margt1133
216-
\\deftab720
217-
\\pard\\pardeftab720\\sa160\\partightenfactor0
218-
219-
\\f0\\b\\fs60 \\cf2 \\expnd0\\expndtw0\\kerning0
220-
\\up0 \\nosupersub \\ulnone \\outl0\\strokewidth0 \\strokec2 MIT License\\
221-
\\pard\\pardeftab720\\sa160\\partightenfactor0
222-
223-
\\pard\\pardeftab720\\sa160\\partightenfactor0
224-
225-
\\f1\\b0\\fs22 \\cf2 \\strokec2
226-
Permission is hereby granted, free of charge, to any person obtaining a copy
227-
of this software and associated documentation files (the "Software"), to deal
228-
in the Software without restriction, including without limitation the rights
229-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
230-
copies of the Software, and to permit persons to whom the Software is
231-
furnished to do so, subject to the following conditions:
232-
233-
The above copyright notice and this permission notice shall be included in all
234-
copies or substantial portions of the Software.
235-
236-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
237-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
238-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
239-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
240-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
241-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
242-
SOFTWARE.\\
243-
\\
244-
}"""
210+
"en_US": b"""
211+
The OpenBCI GUI is licensed under the MIT License.
212+
213+
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
214+
215+
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
216+
217+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
218+
219+
"""
245220
},
246221
"buttons": {
247222
# For each language, text for the buttons on the licensing window.

0 commit comments

Comments
 (0)