1
0
mirror of https://github.com/BoostIo/Boostnote synced 2025-12-13 01:36:22 +00:00

enable Finder on Cinnamon

This commit is contained in:
Dick Choi
2016-04-25 15:26:24 +09:00
parent 86cc9fb7d8
commit 33bc2aa220

View File

@@ -288,6 +288,14 @@ app.on('ready', function () {
})
break
case 'linux':
if (process.env.DESKTOP_SESSION === 'cinnamon') {
finderWindow = require('./finder-window')
finderWindow.on('close', function (e) {
if (appQuit) return true
e.preventDefault()
finderWindow.hide()
})
}
// Do nothing.
}