diff --git a/SkyNX-Streamer/index.html b/SkyNX-Streamer/index.html
index 346dd4c..619f0e9 100644
--- a/SkyNX-Streamer/index.html
+++ b/SkyNX-Streamer/index.html
@@ -53,10 +53,25 @@
diff --git a/SkyNX-Streamer/js/settings.js b/SkyNX-Streamer/js/settings.js
index f8ad926..2b49606 100644
--- a/SkyNX-Streamer/js/settings.js
+++ b/SkyNX-Streamer/js/settings.js
@@ -81,13 +81,23 @@ function applyClientSettings() {
ipcRenderer.send('installAudioDriver');
clientSettings.firstInstall = true;
}
+ if (clientSettings.autoStartStreamer) {
+ connect();
+ }
+
saveClientSettings();
}
+
$("#rainbowEnabled").on('change', function () {
clientSettings.rainbowEnabled = $("#rainbowEnabled").prop("checked");
saveClientSettings();
applyClientSettings();
});
+$("#autoStart").on('change', function () {
+ clientSettings.autoStartStreamer = $("#autoStart").prop("checked");
+ saveClientSettings();
+ applyClientSettings();
+});
// $("#debugEnabled").on('change', function () {
// clientSettings.debug = $("#debugEnabled").prop("checked");
// saveClientSettings();