1
0

Auto-mount

This commit is contained in:
Scott E. Graves
2017-05-04 11:39:47 -05:00
parent a985f1823e
commit 9b078ba30a
6 changed files with 61 additions and 10 deletions

View File

@@ -179,10 +179,11 @@
<div class="hidden-element" id="sia_settings_window">
<div class="box" id="sia_settings">
<h1>General Settings</h1>
<input type="checkbox" id="ID_Settings_LockWalletOnExit">&nbsp;Lock wallet on exit<br><br>
<input type="checkbox" id="ID_Settings_AutoMountOnUnlock">&nbsp;Auto-mount last location<br><br>
<input type="checkbox" id="ID_Settings_AutoStartOnLogon">&nbsp;Auto-start on logon<br><br>
<input type="checkbox" id="ID_Settings_LaunchFileMgrOnMount">&nbsp;Launch file manager on mount<br><br>
<input type="checkbox" id="ID_Settings_CloseToTray">&nbsp;Close to system tray<br><br>
<input type="checkbox" id="ID_Settings_LaunchFileMgrOnMount">&nbsp;Launch file manager on mount<br><br>
<input type="checkbox" id="ID_Settings_LockWalletOnExit">&nbsp;Lock wallet on exit<br><br>
<input type="checkbox" id="ID_Settings_StoreUnlockPassword">&nbsp;Store unlock password<br><br>
<input type="checkbox" id="ID_Settings_LaunchBundledSiad">&nbsp;Use bundled siad<br><br>
<h1>API Port</h1>

View File

@@ -345,7 +345,8 @@
'RpcPort': getValue('ID_Settings_RpcPort'),
'LaunchFileMgrOnMount': getChecked('ID_Settings_LaunchFileMgrOnMount'),
'CloseToTray': getChecked('ID_Settings_CloseToTray'),
'StoreUnlockPassword': getChecked('ID_Settings_StoreUnlockPassword')
'StoreUnlockPassword': getChecked('ID_Settings_StoreUnlockPassword'),
'AutoMountOnUnlock': getChecked('ID_Settings_AutoMountOnUnlock')
}, (success, reason) => {
if (success) {
beginMainApplication();