File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -115,6 +115,21 @@ module.exports = function (grunt) {
115115 done ( )
116116 } )
117117 break
118+ case 'linux' :
119+ Object . assign ( opts , {
120+ platform : 'linux' ,
121+ icon : path . join ( __dirname , 'resources/app.icns' ) ,
122+ 'app-category-type' : 'public.app-category.developer-tools'
123+ } )
124+ packager ( opts , function ( err , appPath ) {
125+ if ( err ) {
126+ grunt . log . writeln ( err )
127+ done ( err )
128+ return
129+ }
130+ done ( )
131+ } )
132+ break
118133 }
119134 } )
120135
Original file line number Diff line number Diff line change @@ -128,6 +128,7 @@ const updater = new GhReleases(ghReleasesOpts)
128128// Check for updates
129129// `status` returns true if there is a new update available
130130function checkUpdate ( ) {
131+ return true
131132 updater . check ( ( err , status ) => {
132133 if ( err ) {
133134 console . error ( err )
@@ -275,17 +276,17 @@ app.on('ready', function () {
275276 mainWindow . hide ( )
276277 } )
277278
278- if ( finderProcess == null && process . platform === 'darwin' ) {
279- spawnFinder ( )
280- } else {
281- finderWindow = require ( './finder-window' )
282-
283- finderWindow . on ( 'close' , function ( e ) {
284- if ( appQuit ) return true
285- e . preventDefault ( )
286- finderWindow . hide ( )
287- } )
288- }
279+ // if (finderProcess == null && process.platform === 'darwin') {
280+ // spawnFinder()
281+ // } else {
282+ // finderWindow = require('./finder-window')
283+
284+ // finderWindow.on('close', function (e) {
285+ // if (appQuit) return true
286+ // e.preventDefault()
287+ // finderWindow.hide()
288+ // })
289+ // }
289290
290291 nodeIpc . server . start ( function ( err ) {
291292 if ( err . code === 'EADDRINUSE' ) {
You can’t perform that action at this time.
0 commit comments