summarylogtreecommitdiffstats
path: root/remove-electron-sudo.patch
diff options
context:
space:
mode:
Diffstat (limited to 'remove-electron-sudo.patch')
-rw-r--r--remove-electron-sudo.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/remove-electron-sudo.patch b/remove-electron-sudo.patch
new file mode 100644
index 00000000000..925fa080493
--- /dev/null
+++ b/remove-electron-sudo.patch
@@ -0,0 +1,11 @@
+diff -ura package.orig/src/utils.js package.new/src/utils.js
+--- package.orig/src/utils.js 2019-03-23 21:06:10.110844584 +0100
++++ package.new/src/utils.js 2019-03-23 21:06:28.024347309 +0100
+@@ -16,7 +16,6 @@
+ const tmp = require('tmp');
+ const exec = require('child_process').exec;
+ const cp = require('child_process');
+-const sudo = require('electron-sudo');
+ const winston = require('winston');
+ const getos = require('getos');
+ const commandExistsSync = require('command-exists').sync;