summarylogtreecommitdiffstats
path: root/use-system-tools.patch
blob: 8e8de8ea54b23d3d0c5ee6fe4b69cbf6a1af4b6b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
diff -ura package.orig/src/utils.js package.new/src/utils.js
--- package.orig/src/utils.js	2019-11-03 17:23:57.937681039 +0100
+++ package.new/src/utils.js	2019-11-03 17:31:22.048339885 +0100
@@ -223,13 +223,7 @@
   process.exit(-1);
 }
 
-let toolpath = global.packageInfo.package
-  ? path.join(
-      __dirname,
-      "../../app.asar.unpacked/platform-tools",
-      platforms[os.platform()]
-    )
-  : path.join(__dirname, "..", "platform-tools", platforms[os.platform()]);
+let toolpath = ""
 let processes = [];
 function execTool(tool, args, callback) {
   let pid = exec(