Skip to content

Commit

Permalink
neues Format index loader
Browse files Browse the repository at this point in the history
  • Loading branch information
hmt committed Apr 11, 2021
1 parent 34de1ec commit fe51a28
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,7 @@ function createWindow() {
protocol: "file:",
slashes: true
}))
// mainWindow.loadURL(join(__dirname, "index.html"))
if (is.development || process.argv.some(a => a === '--devtools')) mainWindow.openDevTools()
if (is.development || process.argv.some(a => a === '--devtools')) mainWindow.webContents.openDevTools()

mainWindow.on('close', e => {
if (!configData.get('close')) {
Expand Down

0 comments on commit fe51a28

Please sign in to comment.