electron-69: sets minimize on close to false by default in the mac installer and the config file (#126)

This commit is contained in:
Vishwas Shashidhar 2017-06-05 21:53:20 +05:30 committed by Lynn
parent 532ac475ec
commit 3f9167b3d6
6 changed files with 7 additions and 7 deletions

View File

@ -1,5 +1,5 @@
{
"url": "https://foundation-dev.symphony.com",
"minimizeOnClose" : true,
"minimizeOnClose" : false,
"launchOnStartup" : true
}

View File

@ -6,7 +6,7 @@
<dict>
<key>Resources/Base.lproj/MyInstallerPane.nib</key>
<data>
G7x4W+5j1tDqlKgoKCr5helllTU=
7SgpVMmKQhxWmP+UrnUO+Nmg6K8=
</data>
<key>Resources/InstallerSections.plist</key>
<data>
@ -37,7 +37,7 @@
<dict>
<key>hash2</key>
<data>
5C6LFVcm159sGwREu78C3xnjlAHRN9oglcYR3P6rmhM=
hgK4NHwNXmzAlIsMGCQn3u4dSjn0/pnJfVT+v31D3iA=
</data>
</dict>
<key>Resources/InstallerSections.plist</key>

View File

@ -56,7 +56,7 @@
<button fixedFrame="YES" translatesAutoresizingMaskIntoConstraints="NO" id="XPe-yO-v9Y">
<rect key="frame" x="204" y="150" width="22" height="18"/>
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
<buttonCell key="cell" type="check" bezelStyle="regularSquare" imagePosition="left" state="on" inset="2" id="uvu-EE-3sp">
<buttonCell key="cell" type="check" bezelStyle="regularSquare" imagePosition="left" inset="2" id="uvu-EE-3sp">
<behavior key="behavior" changeContents="YES" doesNotDimImage="YES" lightByContents="YES"/>
<font key="font" metaFont="system"/>
</buttonCell>

View File

@ -30,12 +30,12 @@
NSString *finalUrl = [protocol stringByAppendingString: podUrl];
// By default, set minimizeOnClose and autoLaunchOnStart to true
NSString *minimizeOnClose = @"true";
NSString *minimizeOnClose = @"false";
NSString *autoLaunchOnStart = @"true\n";
// If the checkbox is changed, set the minimize on close value accordingly
if ([_minimizeOnCloseCheckBox state] == 0) {
minimizeOnClose = @"false";
if ([_minimizeOnCloseCheckBox state] == 1) {
minimizeOnClose = @"true";
}
// If the checkbox is changed, set the auto launch value accordingly