chore: Update paths for Waydroid policykit shims

This commit is contained in:
Kyle Gospodnetich 2023-10-01 18:11:06 -07:00 committed by GitHub
parent 1aa7d4aafd
commit fe5311e56f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -4,12 +4,12 @@ source /etc/default/waydroid-launcher
if [ "$(systemctl is-active waydroid-container.service)" == 'active' ]; then
killall -9 weston
pkexec /usr/bin/stop-waydroid-container
pkexec /usr/bin/waydroid-container-stop
exit
fi
killall -9 weston
pkexec /usr/bin/start-waydroid-container
pkexec /usr/bin/waydroid-container-start
if [ -z "$(pgrep weston)" ]; then
/usr/bin/weston --xwayland --width="${WAYDROID_WIDTH}" --height="${WAYDROID_HEIGHT}" &> /dev/null &
fi
@ -22,4 +22,4 @@ while [ -n "$(pgrep weston)" ];do
sleep 1
done
pkexec /usr/bin/stop-waydroid-container
pkexec /usr/bin/waydroid-container-stop