Skip to content

Commit

Permalink
Disabled Devtools auto opening
Browse files Browse the repository at this point in the history
  • Loading branch information
LeMocha committed Jul 7, 2024
1 parent e508a46 commit 681bcf5
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 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.1.0",
"version": "1.1.1",
"description": "Launcher pour le serveur AlmyriaCraft",
"main": "src/app.js",
"author": "Luuxis, LeWarpy <coucou@lewarpy.fr>, LeMocha <cadet@lucie.re>",
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/assets/js/windows/updateWindow.js
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ function createWindow() {
updateWindow.once('ready-to-show', () => {
if (updateWindow) {
updateWindow.show();
updateWindow.webContents.openDevTools({ mode: 'undocked' });
//updateWindow.webContents.openDevTools({ mode: 'undocked' });
}
});
}
Expand Down

0 comments on commit 681bcf5

Please sign in to comment.