mirror of
https://github.com/BoostIo/Boostnote
synced 2025-12-14 10:16:26 +00:00
enable Finder on Cinnamon
This commit is contained in:
@@ -288,6 +288,14 @@ app.on('ready', function () {
|
|||||||
})
|
})
|
||||||
break
|
break
|
||||||
case 'linux':
|
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.
|
// Do nothing.
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user