We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8f9be2a commit e8bac1cCopy full SHA for e8bac1c
udroid/src/gum_wrapper.sh
@@ -13,8 +13,16 @@ lshout() { echo -e "${_c_blue}-> ${*}${RST}";:;}
13
imsg() { if [ -n "$UDROID_VERBOSE" ]; then echo -e ": ${*} \e[0m" >&2;fi;:;}
14
msg() { echo -e "${*} \e[0m" >&2;:;}
15
16
+# arch transition
17
+case $(dpkg --print-architecture) in
18
+ arm64 | aarch64) ARCH=aarch64 ;;
19
+ arm | armhf | armv7l | armv8l) ARCH=armhf ;;
20
+ x86_64| amd64) ARCH=amd64;;
21
+ *) die "unsupported architecture" ;;
22
+esac
23
+
24
# GUM="./gum/usr/bin/gum"
-GUM="./gum/gum-$(dpkg --print-architecture)/usr/bin/gum"
25
+GUM="./gum/gum-$ARCH/usr/bin/gum"
26
27
export GUM_INPUT_CURSOR_FOREGROUND="#F2BE22"
28
export GUM_CHOOSE_CURSOR_FOREGROUND="#F2BE22"
0 commit comments