summarylogtreecommitdiffstats
path: root/ubports-installer
diff options
context:
space:
mode:
Diffstat (limited to 'ubports-installer')
-rwxr-xr-xubports-installer5
1 files changed, 3 insertions, 2 deletions
diff --git a/ubports-installer b/ubports-installer
index 5a24fb8691ab..ba72f4b2c9fa 100755
--- a/ubports-installer
+++ b/ubports-installer
@@ -1,3 +1,4 @@
#!/bin/sh
-
-exec electron4 /usr/share/ubports-installer/app.asar "$@" --no-root
+# need SNAP_NAME for adb/fastbook to be detected
+# https://github.com/ubports/ubports-installer/commit/15ed833ce5149a47ea376aa93e6cc7908afe8c92#diff-1c90ff38a08209f9ebd4d05d1e43358eR48
+SNAP_NAME=arch exec electron4 /usr/share/ubports-installer/app.asar "$@"