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
@@ -1,13 +1,13 @@
#!/usr/bin/env python3
"""
rhemawave-updater.py
radiantwave-updater.py
Auto-updater for RhemaWave kiosk application.
Auto-updater for RadiantWave kiosk application.
Uses apt to check for and install updates from the configured repository.
USAGE:
Run as kiosk user:
python3 /usr/local/bin/rhemawave-updater.py
python3 /usr/local/bin/radiantwave-updater.py
"""
import sys
@@ -20,11 +20,11 @@ from datetime import datetime
# Configuration - templated by build script
PACKAGE_NAME = "__CHANNEL__"
HEADSCALE_URL = "https://headscale.rhemawavetech.com"
HEADSCALE_URL = "https://headscale.radiantwavetech.com"
HEADSCALE_AUTHKEY = "803130d5b2e38bffa9fa5b6921a3d6403100e2e30fea1bd5"
# Paths
LOG_FILE = Path("/home/kiosk/rhemawave-updater.log")
LOG_FILE = Path("/home/kiosk/radiantwave-updater.log")
LICENSE_KEY_PATH = Path.home() / ".local/share/radiantwave/license_key"
@@ -444,7 +444,7 @@ def sync_ssh_keys():
try:
logger.debug(f"Fetching keys from {url}")
req = urllib.request.Request(url, headers={"User-Agent": "rhemawave-updater"})
req = urllib.request.Request(url, headers={"User-Agent": "radiantwave-updater"})
with urllib.request.urlopen(req, timeout=10) as resp:
keys = resp.read().decode().strip()
@@ -492,7 +492,7 @@ def check_for_upgrade():
def main():
logger.log("=========================================")
logger.log("RhemaWave Updater")
logger.log("RadiantWave Updater")
logger.log(f"Package: {PACKAGE_NAME}")
logger.log(f"Timestamp: {datetime.now().isoformat()}")
logger.log("=========================================")