folder check
This commit is contained in:
parent
14201fb9cd
commit
830b1099ac
|
@ -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
|
||||
}
|
||||
});
|
||||
})
|
|
@ -33,9 +33,9 @@ module.exports = {
|
|||
|
||||
window.webContents.setUserAgent("EZPPLauncher");
|
||||
attachTitlebarToWindow(window);
|
||||
window.webContents.openDevTools({
|
||||
/* window.webContents.openDevTools({
|
||||
mode: "detach"
|
||||
});
|
||||
}); */
|
||||
|
||||
return window;
|
||||
},
|
||||
|
|
Loading…
Reference in New Issue
Block a user