Skip to content

Commit

Permalink
don't hide menu in final executable
Browse files Browse the repository at this point in the history
  • Loading branch information
IceSentry committed Sep 26, 2021
1 parent 6cd12ad commit b5fe444
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
8 changes: 6 additions & 2 deletions src/main/audio.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,12 @@ ipcMain.on(AUDIO_START, (event) => {
stdout,
}
event.reply(AUDIO_MSG, reply)
log.info(stdout)
log.error(stderr)
if (stdout) {
log.info(stdout)
}
if (stderr) {
log.error(stderr)
}
})
} else if (process.platform === 'win32') {
// TODO figure out a way to use wsl to launch capra_audio
Expand Down
2 changes: 1 addition & 1 deletion src/main/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ function createWindow() {
log.info('opening devtools')
mainWindow?.webContents.openDevTools()
} else {
mainWindow.removeMenu()
// mainWindow.removeMenu()
}

mainWindow.once('ready-to-show', () => {
Expand Down

0 comments on commit b5fe444

Please sign in to comment.