diff --git a/index.html b/index.html
index 060603f..49c889b 100644
--- a/index.html
+++ b/index.html
@@ -98,8 +98,8 @@
- Auto start with system:
-
+
+
Auto apply on launch:
Minimize to tray:
diff --git a/js/methods.js b/js/methods.js
index aaa9c18..812838e 100644
--- a/js/methods.js
+++ b/js/methods.js
@@ -116,7 +116,7 @@ function preFillSettings() {
notification('danger', "Path to ryzenadj.exe is wrong, please fix it in settings tab.");
}
const settings = require('electron-settings');
- document.getElementById('start_at_boot').checked = !!settings.get('settings.start_at_boot');
+ // document.getElementById('start_at_boot').checked = !!settings.get('settings.start_at_boot');
document.getElementById('apply_last_settings_on_launch').checked = !!settings.get('settings.apply_last_settings_on_launch');
document.getElementById('minimize_to_tray').checked = !!settings.get('settings.minimize_to_tray');
@@ -229,14 +229,14 @@ function registerEventListenerForSettingsInput() {
reapply_periodically: reapply_periodically.value
});
});
- var start_at_boot = document.getElementById('start_at_boot');
- start_at_boot.addEventListener('change', function() {
- settings.set('settings', {
- ...settings.get('settings'),
- start_at_boot: !!start_at_boot.checked
- });
- require('electron').remote.app.setLoginItemSettings({ openAtLogin: !!start_at_boot.checked });
-});
+ // var start_at_boot = document.getElementById('start_at_boot');
+ // start_at_boot.addEventListener('change', function() {
+ // settings.set('settings', {
+ // ...settings.get('settings'),
+ // start_at_boot: !!start_at_boot.checked
+ // });
+ // require('electron').remote.app.setLoginItemSettings({ openAtLogin: !!start_at_boot.checked });
+ // });
}
/**