1
0

Launch explorer

This commit is contained in:
Scott E. Graves
2017-04-25 18:02:58 -05:00
parent 765f974d7a
commit 6a17c04ba8
6 changed files with 22 additions and 1 deletions

View File

@@ -180,6 +180,8 @@
<input type="checkbox" id="ID_SettingsLockWalletOnExit"><br><br>
<h2>Auto-start on Logon</h2>
<input type="checkbox" id="ID_SettingsAutoStart"><br><br>
<h2>Launch file manager on mount</h2>
<input type="checkbox" id="ID_SettingsLaunchFileManager"><br><br>
<h2>Use Bundled siad</h2>
<input type="checkbox" id="ID_SettingsLaunchServer"><br><br>
<h2>API Port</h2>

View File

@@ -172,6 +172,11 @@
if (document.getElementById('sia_settings_window').classList.contains('hidden-element')) {
setValue('ID_SettingsRPCPort', port);
}
},
setLaunchFileManager: (launch) => {
if (document.getElementById('sia_settings_window').classList.contains('hidden-element')) {
setChecked('ID_SettingsLaunchFileManager', launch);
}
}
};
})();
@@ -336,7 +341,8 @@
'UseBundledSiad': getChecked('ID_SettingsLaunchServer'),
'ApiPort': getValue('ID_SettingsApiPort'),
'HostPort': getValue('ID_SettingsHostPort'),
'RpcPort': getValue('ID_SettingsRPCPort')
'RpcPort': getValue('ID_SettingsRPCPort'),
'LaunchFileManager': getChecked('ID_SettingsLaunchFileManager')
}, (success, reason) => {
if (success) {
beginMainApplication();