diff --git a/preload/preload.js b/preload/preload.js index feb8383..2bb6ce3 100644 --- a/preload/preload.js +++ b/preload/preload.js @@ -19,6 +19,10 @@ window.addEventListener('DOMContentLoaded', () => { const success = await ipcRenderer.invoke('set-osu-dir'); if (success == undefined) return; - alert(success); + if (success) { + + } else { + //TODO: Alert User, invalid osu folder selected + } }); }) \ No newline at end of file diff --git a/ui/windowManager.js b/ui/windowManager.js index ff8ae47..9688bf8 100644 --- a/ui/windowManager.js +++ b/ui/windowManager.js @@ -33,9 +33,9 @@ module.exports = { window.webContents.setUserAgent("EZPPLauncher"); attachTitlebarToWindow(window); - window.webContents.openDevTools({ + /* window.webContents.openDevTools({ mode: "detach" - }); + }); */ return window; },