summarylogtreecommitdiffstats
path: root/ubports-installer
diff options
context:
space:
mode:
authorMatthias Lisin2019-10-12 22:48:18 +0200
committerMatthias Lisin2019-10-12 22:48:18 +0200
commitcad0f1417ac79dcf8bd7d1124fe9ca1dabb718e5 (patch)
treec111f8a5bdb5b0fd6af8699b08d3535d3b88cdc9 /ubports-installer
parent520aa79b524f30adaecd3461897ff8dd1d3d7eb8 (diff)
downloadaur-cad0f1417ac79dcf8bd7d1124fe9ca1dabb718e5.tar.gz
Replace obsolete patches.
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 5a24fb8691a..ba72f4b2c9f 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 "$@"