Skip to content

Commit 85a008d

Browse files
committed
Add MIT license to Mac installer #1176
1 parent cc99736 commit 85a008d

1 file changed

Lines changed: 40 additions & 24 deletions

File tree

release/mac/dmgbuild_settings.py

Lines changed: 40 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -207,25 +207,41 @@ 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_GB": b"""{\\rtf1\\ansi\\ansicpg1252\\cocoartf1504\\cocoasubrtf820
211-
{\\fonttbl\\f0\\fnil\\fcharset0 Helvetica-Bold;\\f1\\fnil\\fcharset0 Helvetica;}
212-
{\\colortbl;\\red255\\green255\\blue255;\\red0\\green0\\blue0;}
213-
{\\*\\expandedcolortbl;;\\cssrgb\\c0\\c0\\c0;}
214-
\\paperw11905\\paperh16837\\margl1133\\margr1133\\margb1133\\margt1133
215-
\\deftab720
216-
\\pard\\pardeftab720\\sa160\\partightenfactor0
217-
218-
\\f0\\b\\fs60 \\cf2 \\expnd0\\expndtw0\\kerning0
219-
\\up0 \\nosupersub \\ulnone \\outl0\\strokewidth0 \\strokec2 Test License\\
220-
\\pard\\pardeftab720\\sa160\\partightenfactor0
221-
222-
\\fs36 \\cf2 \\strokec2 What is this?\\
223-
\\pard\\pardeftab720\\sa160\\partightenfactor0
224-
225-
\\f1\\b0\\fs22 \\cf2 \\strokec2 This is the English license. It says what you are allowed to do with this software.\\
226-
\\
227-
}""",
228-
"de_DE": "Ich bin ein Berliner. Bielefeld gibt's doch gar nicht.",
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+
}"""
229245
},
230246
"buttons": {
231247
# For each language, text for the buttons on the licensing window.
@@ -256,11 +272,11 @@ def icon_from_app(app_path):
256272
# specify them for some other language, English will be used instead.
257273
"en_US": (
258274
b"English",
259-
b"Agree!",
260-
b"Disagree!",
261-
b"Print!",
262-
b"Save!",
263-
b'Do you agree or not? Press "Agree" or "Disagree".',
275+
b"Agree",
276+
b"Disagree",
277+
b"Print",
278+
b"Save",
279+
b'Do you agree to the terms of the MIT license? Press "Agree" or "Disagree".',
264280
),
265281
},
266282
}

0 commit comments

Comments
 (0)