mirror of
https://github.com/theupriser/steamify-cachyos-dev.git
synced 2026-10-05 12:45:56 +02:00
chore: The wizard's script is now steamify.sh
vmrun.sh, vmwatch.sh, the skill and the README run /mnt/steamify.sh.
This commit is contained in:
1 parent
c6abfd2ea8
commit
8c48858f54
6 files changed
+14
-12
No files matched your search
+2
-2
@@ -13,13 +13,13 @@ label="${2:-Running the wizard}"
|
||||
{ printf 'input=%q label=%q repo=%q uid=%q wait=%q\n' "$input" "$label" "${GUEST_REPO:-/mnt}" \
|
||||
"${GUEST_UID:-1000}" "${WAIT:-1800}"; cat << 'REMOTE'
|
||||
export XDG_RUNTIME_DIR=/run/user/$uid DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/$uid/bus
|
||||
[ -x "$repo/setup-gamescope-boot.sh" ] || { echo "$repo/setup-gamescope-boot.sh missing: mount the repo (lost after a reboot)" >&2; exit 1; }
|
||||
[ -x "$repo/steamify.sh" ] || { echo "$repo/steamify.sh missing: mount the repo (lost after a reboot)" >&2; exit 1; }
|
||||
rm -f /tmp/wizard.done
|
||||
{
|
||||
echo '#!/bin/bash'
|
||||
printf 'echo %q; echo %q; sleep 3\n' ">>> $label" ">>> menu input: $input"
|
||||
# shellcheck disable=SC2016
|
||||
printf 'printf %q | %q 2>&1 | tee /tmp/wizard.log\n' "$input" "$repo/setup-gamescope-boot.sh"
|
||||
printf 'printf %q | %q 2>&1 | tee /tmp/wizard.log\n' "$input" "$repo/steamify.sh"
|
||||
echo 'touch /tmp/wizard.done'
|
||||
} > /tmp/vmwatch-run.sh
|
||||
chmod +x /tmp/vmwatch-run.sh
|
||||
|
||||
Reference in new issue
Block a user