Skip to content
This repository has been archived by the owner on Jan 1, 2025. It is now read-only.

Commit

Permalink
fix: remove debug
Browse files Browse the repository at this point in the history
  • Loading branch information
ItsSim committed Jan 24, 2024
1 parent 2ca755a commit 5326d08
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -177,10 +177,10 @@ function createWindow() {
window.setMenu( null );

// Allow the user to open devTools if Debug=1 in FSOLauncher.ini
//if ( userSettings.Launcher.Debug == '1' && ! isTestMode ) {
if ( userSettings.Launcher.Debug == '1' && ! isTestMode ) {
console.info( 'debug mode enabled' );
window.openDevTools( { mode: 'detach' } );
//}
}

window.loadURL( `file://${__dirname}/fsolauncher-ui/fsolauncher.pug` );
window.on( 'restore', _e => window.setSize( width, height ) );
Expand Down

0 comments on commit 5326d08

Please sign in to comment.