summarylogtreecommitdiffstats
path: root/lens.sh
diff options
context:
space:
mode:
authorDavid Birks2020-03-26 20:01:36 -0400
committerDavid Birks2020-03-26 23:38:15 -0400
commit076949c6b792bf7690a5c4e91cdf48faa4bd359b (patch)
tree7ed5dd6f401434e27fbee3130cd51005e1af4de7 /lens.sh
downloadaur-076949c6b792bf7690a5c4e91cdf48faa4bd359b.tar.gz
Initial commit of 3.1.0-beta.1
Version 3.1.0-beta.1 looks to be the first released version that's open source. Installing from source. Initally tried using the system electron6. Ran into issues with it, with a slight mismatch between node 12 and electron 6. Error message: ``` App threw an error during load Error: The module '/tmp/.org.chromium.Chromium.BfwVJN' was compiled against a different Node.js version using NODE_MODULE_VERSION 73. This version of Node.js requires NODE_MODULE_VERSION 76. Please try re-compiling or re-installing the module (for instance, using `npm rebuild` or `npm install`). ```
Diffstat (limited to 'lens.sh')
-rwxr-xr-xlens.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/lens.sh b/lens.sh
new file mode 100755
index 000000000000..5f834dd45ee4
--- /dev/null
+++ b/lens.sh
@@ -0,0 +1,3 @@
+#!/bin/sh
+export NODE_ENV=production
+electron /usr/lib/lens/resources/app.asar $@ \ No newline at end of file