summaryrefslogtreecommitdiff
path: root/devel/electron6/files/patch-electron_script_lib_utils.js
diff options
context:
space:
mode:
Diffstat (limited to 'devel/electron6/files/patch-electron_script_lib_utils.js')
-rw-r--r--devel/electron6/files/patch-electron_script_lib_utils.js11
1 files changed, 11 insertions, 0 deletions
diff --git a/devel/electron6/files/patch-electron_script_lib_utils.js b/devel/electron6/files/patch-electron_script_lib_utils.js
new file mode 100644
index 000000000000..ac35e2230d58
--- /dev/null
+++ b/devel/electron6/files/patch-electron_script_lib_utils.js
@@ -0,0 +1,11 @@
+--- electron/script/lib/utils.js.orig 2019-12-17 00:40:10 UTC
++++ electron/script/lib/utils.js
+@@ -14,7 +14,7 @@ function getElectronExec () {
+ return `out/${OUT_DIR}/Electron.app/Contents/MacOS/Electron`
+ case 'win32':
+ return `out/${OUT_DIR}/electron.exe`
+- case 'linux':
++ case 'linux': case 'freebsd':
+ return `out/${OUT_DIR}/electron`
+ default:
+ throw new Error('Unknown platform')