Skip to content

Commit

Permalink
Oopsie OpenDevTools Kappa
Browse files Browse the repository at this point in the history
  • Loading branch information
LeMocha committed Jun 27, 2024
1 parent e7a614c commit 7cb53da
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "launcher",
"preductname": "AlmyriaCraft Launcher",
"version": "1.0.14",
"version": "1.0.15",
"description": "Launcher pour le serveur AlmyriaCraft",
"main": "src/app.js",
"author": "Luuxis, LeWarpy <coucou@lewarpy.fr>, LeMocha <cadet@lucie.re>",
Expand Down
4 changes: 2 additions & 2 deletions src/assets/js/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -123,8 +123,8 @@ function sleep(ms) {
}

document.addEventListener("keydown", (e) => {
if (e.ctrlKey && e.shiftKey && e.keyCode == 73 || e.keyCode == 123) {
/* if (e.ctrlKey && e.shiftKey && e.keyCode == 73 || e.keyCode == 123) {
ipcRenderer.send("update-window-dev-tools");
}
} */
})
new Splash();
4 changes: 2 additions & 2 deletions src/assets/js/launcher.js
Original file line number Diff line number Diff line change
Expand Up @@ -56,9 +56,9 @@ class Launcher {

initLog() {
document.addEventListener("keydown", (e) => {
if (e.ctrlKey && e.shiftKey && e.keyCode == 73 || e.keyCode == 123) {
/* if (e.ctrlKey && e.shiftKey && e.keyCode == 73 || e.keyCode == 123) {
ipcRenderer.send("main-window-dev-tools");
}
} */
})
new logger('Launcher', '#7289da')
}
Expand Down
2 changes: 1 addition & 1 deletion src/assets/js/windows/mainWindow.js
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ function createWindow() {
mainWindow.show();
}
});
mainWindow.webContents.openDevTools({ mode: 'undocked' });
//mainWindow.webContents.openDevTools({ mode: 'undocked' });
}

module.exports = {
Expand Down
2 changes: 1 addition & 1 deletion src/launcher.html
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@

<div class="overlay">
<div class="center">
<img height="14px" src="https://media.discordapp.net/attachments/710790592778469457/1119599610843906089/image.png">
<img height="14px" src="https://almyria.s3.fr-par.scw.cloud/assets/disclaimer_launcher.png">
</div>
</div>

Expand Down

0 comments on commit 7cb53da

Please sign in to comment.