better structure

This commit is contained in:
Uyanide committed 2025-10-19 00:14:19 +02:00
1 parent 057afc086e
commit 8733656ed9
630 files changed
+81 -137

No files matched your search

+15
View File
@@ -0,0 +1,15 @@
#!/usr/bin/env bash
function checkReturn {
echo "Executing: $*"
if ! "$@"; then
echo "Error runnning command"
exit 1
fi
}
checkReturn waydroid session stop
# checkReturn sudo waydroid upgrade # since I'm not using the default image
checkReturn sudo waydroid init -f
checkReturn sudo systemctl restart waydroid-container
checkReturn waydroid show-full-ui