diff options
Diffstat (limited to 'use-system-electron.patch')
-rw-r--r-- | use-system-electron.patch | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/use-system-electron.patch b/use-system-electron.patch new file mode 100644 index 000000000000..6b325e6837ef --- /dev/null +++ b/use-system-electron.patch @@ -0,0 +1,27 @@ +--- a/tasks/build.coffee ++++ b/tasks/build.coffee +@@ -74,14 +74,6 @@ + ['linux32', 'linux64'].forEach (dist) -> + gulp.task 'build:' + dist, ['resources:linux', 'compile:' + dist, 'clean:build:' + dist, 'changelog:linux'], (done) -> + async.series [ +- # Rename the executable +- (callback) -> +- exeDir = './build/' + dist + '/opt/' + manifest.name + '/' +- fromPath = exeDir + 'electron' +- toPath = exeDir + manifest.name +- +- fs.rename fromPath, toPath, utils.log callback, fromPath, '=>', toPath +- + # Move the app's .desktop file + (callback) -> + fromPath = './build/resources/linux/app.desktop' +--- a/tasks/clean.coffee ++++ b/tasks/clean.coffee +@@ -15,7 +15,7 @@ + + # Remove the default_app folder inside the linux builds + ['linux32', 'linux64'].forEach (dist) -> +- gulp.task 'clean:build:' + dist, ['download:' + dist], -> ++ gulp.task 'clean:build:' + dist, -> + del './build/' + dist + '/opt/' + manifest.name + '/resources/default_app.asar' + .then (result) -> console.log result |