Rename rhemawave to radiantwave throughout
build-prod.yml / build (push) Failing after 2s
build-dev.yml / build (push) Failing after 2s

This commit is contained in:
NeilClack
2026-08-08 01:20:11 -05:00
parent 1b80265e80
commit 312f5e2a90
48 changed files with 160 additions and 161 deletions
@@ -1,4 +1,4 @@
// Allow kiosk user to run apt update, apt install for rhemawave packages,
// Allow kiosk user to run apt update, apt install for radiantwave packages,
// and restart getty for application reloading
polkit.addRule(function(action, subject) {
if (action.id == "org.freedesktop.policykit.exec" &&
@@ -20,11 +20,11 @@ polkit.addRule(function(action, subject) {
return polkit.Result.YES;
}
// Allow: apt install --only-upgrade rhemawave[-dev]
// Allow: apt install --only-upgrade radiantwave[-dev]
if (cmdline &&
cmdline.indexOf("install") >= 0 &&
cmdline.indexOf("--only-upgrade") >= 0 &&
cmdline.indexOf("rhemawave") >= 0) {
cmdline.indexOf("radiantwave") >= 0) {
return polkit.Result.YES;
}
}
+5 -5
View File
@@ -1,5 +1,5 @@
#!/bin/bash
# Post-installation script for RhemaWave
# Post-installation script for RadiantWave
set -e
# Create kiosk group if it doesn't exist
@@ -12,13 +12,13 @@ fi
if ! getent passwd kiosk > /dev/null 2>&1; then
echo "Creating kiosk user..."
useradd --system --gid kiosk --create-home --home-dir /home/kiosk \
--shell /bin/bash --comment "RhemaWave Kiosk User" kiosk
--shell /bin/bash --comment "RadiantWave Kiosk User" kiosk
fi
# Set proper group ownership for writable directories
chgrp -R kiosk /usr/local/share/rhemawave
chgrp -R kiosk /usr/local/share/radiantwave
# Ensure kiosk user can write to the data directory
chmod g+w /usr/local/share/rhemawave
chmod g+w /usr/local/share/radiantwave
echo "✓ RhemaWave post-install complete"
echo "✓ RadiantWave post-install complete"
@@ -1,16 +1,16 @@
# RhemaWave kiosk auto-launch on tty1
# RadiantWave kiosk auto-launch on tty1
if [ -z "$WAYLAND_DISPLAY" ] && [ "$(tty)" = "/dev/tty1" ]; then
export XDG_RUNTIME_DIR=/run/user/$(id -u)
export SDL_VIDEODRIVER=wayland
# Check for updates before launching
/usr/bin/python3 /usr/local/bin/rhemawave-updater.py || true
/usr/bin/python3 /usr/local/bin/radiantwave-updater.py || true
# Set all sinks to full volume
for sink in $(wpctl status | grep -oP '^\s+\K\d+(?=\.)' | head -10); do
wpctl set-volume "$sink" 1.0 2>/dev/null
done
exec cage -- /usr/local/bin/rhemawave
exec cage -- /usr/local/bin/radiantwave
fi