mirror of
https://github.com/finos/SymphonyElectron.git
synced 2025-02-25 18:55:29 -06:00
electron-69: sets minimize on close to false by default in the mac installer and the config file (#126)
This commit is contained in:
parent
532ac475ec
commit
3f9167b3d6
@ -1,5 +1,5 @@
|
||||
{
|
||||
"url": "https://foundation-dev.symphony.com",
|
||||
"minimizeOnClose" : true,
|
||||
"minimizeOnClose" : false,
|
||||
"launchOnStartup" : true
|
||||
}
|
Binary file not shown.
Binary file not shown.
@ -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>
|
||||
|
@ -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>
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user