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:
@@ -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.
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user