diff options
Diffstat (limited to 'src/app/js/settings.js')
-rw-r--r-- | src/app/js/settings.js | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/app/js/settings.js b/src/app/js/settings.js index 63b4b99..34975fe 100644 --- a/src/app/js/settings.js +++ b/src/app/js/settings.js @@ -126,6 +126,13 @@ var Settings = { } } + if (process.platform == "win32") { + let linuxopts = document.querySelectorAll(".options .linuxopt"); + for (let i = 0; i < linuxopts.length; i++) { + linuxopts[i].style.display = "none"; + } + } + ipcRenderer.send("can-autoupdate"); ipcRenderer.on("cant-autoupdate", () => { document.querySelector(".option[name=autoupdate]").style.display = "none"; |