Skip to content

Commit

Permalink
Sets appUserModelId
Browse files Browse the repository at this point in the history
This fixes the notifications that shows 'electron.app.SSHFS-Win manager' in the bottom.
  • Loading branch information
evsar3 committed Mar 27, 2020
1 parent e3ad639 commit de09217
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/main/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ if (process.env.NODE_ENV !== 'development') {
global.__static = require('path').join(__dirname, '/static').replace(/\\/g, '\\\\')
}

app.setAppUserModelId('SSHFS-Win Manager')

windowManager.init({
appBase: process.env.NODE_ENV === 'production'
? `file://${__dirname}`
Expand Down

0 comments on commit de09217

Please sign in to comment.