Merge pull request #793 from feross/debian-system-install

Add system-wide menu item for debian and derivates
This commit is contained in:
Feross Aboukhadijeh
2016-08-22 02:03:29 +02:00
committed by GitHub
5 changed files with 41 additions and 0 deletions

View File

@@ -280,6 +280,9 @@ function installLinux () {
var config = require('../config')
var log = require('./log')
// Do not install in user dir if running on system
if (/^\/opt/.test(process.execPath)) return
installDesktopFile()
installIconFile()