Skip to content

Commit b0263e7

Browse files
authored
Merge pull request #7 from Samueru-sama/patch-1
remove bashism
2 parents bf4fef4 + 08b0932 commit b0263e7

1 file changed

Lines changed: 6 additions & 4 deletions

File tree

debian/AppRun

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,11 @@ set -e
33

44
CURRENTDIR="$(dirname "$(readlink -f "$0")")"
55

6+
# wayland doesn't work
7+
if [ -z "$I_WANT_A_BROKEN_WAYLAND_UI" ]; then
8+
export QT_QPA_PLATFORM=xcb
9+
fi
10+
611
if [ ! -f "/etc/udev/rules.d/53-adi-m1k-usb.rules" ]; then
712
echo "/etc/udev/rules.d/53-adi-m1k-usb.rules file not found!"
813
echo "Ignore if udev is not supported by your system"
@@ -35,9 +40,6 @@ if [ "$1" = '--getudev' ]; then
3540
echo "Udev rules successfully created"
3641
fi
3742
fi
38-
if [[ -z "$QT_QPA_PLATFORM" || "$QT_QPA_PLATFORM" =~ "wayland" ]]; then
39-
echo "Overriding to xcb for now..."
40-
QT_QPA_PLATFORM=xcb; # Override wayland for now
41-
fi
43+
4244
# Continue with application execution
4345
exec "$CURRENTDIR"/bin/pixelpulse2 "$@"

0 commit comments

Comments
 (0)