summarylogtreecommitdiffstats
path: root/code-git.sh
diff options
context:
space:
mode:
authorMichael Hansen2019-07-07 14:50:46 -0700
committerMichael Hansen2019-07-07 14:50:46 -0700
commit8f1d4f52cf99ca6b73f04d3a961f5858e23500c5 (patch)
tree60c0dea0e4524b6d41981d0424b8c70d1b861597 /code-git.sh
parent25d9f6995c7388fb36a42eee6974737a56f9d88b (diff)
downloadaur-8f1d4f52cf99ca6b73f04d3a961f5858e23500c5.tar.gz
Switch to electron 4 and allow mem_limit to be overridden by environment variable
Diffstat (limited to 'code-git.sh')
-rw-r--r--code-git.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/code-git.sh b/code-git.sh
index d29e58ade455..da38c4c476a0 100644
--- a/code-git.sh
+++ b/code-git.sh
@@ -1,3 +1,3 @@
#!/bin/bash
-exec electron /usr/lib/code-git/out/cli.js /usr/lib/code-git/code-git.js "$@"
+ELECTRON_RUN_AS_NODE=1 exec electron4 /usr/lib/code-git/out/cli.js /usr/lib/code-git/code-git.js "$@"