Skip to content

Commit 33bc2aa

Browse files
committed
enable Finder on Cinnamon
1 parent 86cc9fb commit 33bc2aa

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

lib/main-app.js

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -288,6 +288,14 @@ app.on('ready', function () {
288288
})
289289
break
290290
case 'linux':
291+
if (process.env.DESKTOP_SESSION === 'cinnamon') {
292+
finderWindow = require('./finder-window')
293+
finderWindow.on('close', function (e) {
294+
if (appQuit) return true
295+
e.preventDefault()
296+
finderWindow.hide()
297+
})
298+
}
291299
// Do nothing.
292300
}
293301

0 commit comments

Comments
 (0)