Add Store support and unsigned app releases

This commit is contained in:
Tamas Csikel
2026-10-25 14:11:49 +01:00
parent 4975784491
commit d7e9fe4568
157 changed files with 22985 additions and 944 deletions

View File

@@ -1,5 +1,6 @@
#!/bin/sh
# Runs inside cage: apply the output mode, then start the launcher.
# Runs inside the compositor (sf-compositor, or cage as a fallback): apply
# the output mode, start sf-core, then the launcher.
if [ -n "${SMARTFOX_MODE:-}" ]; then
OUT=$(wlr-randr | awk 'NR==1 {print $1}')
wlr-randr --output "$OUT" --custom-mode "$SMARTFOX_MODE" ||
@@ -31,4 +32,10 @@ if [ -x "$PKG/current/bin/sf-launcher" ]; then
rm -f "$TRIES"
fi
fi
exec "$LAUNCHER" --fullscreen --apps /usr/share/smartfox/apps --apps /var/lib/sf-pkg/apps
# sf-core starts and freezes apps, runs DIAL (YouTube cast) and the AirPlay /
# Miracast receivers. It quits by itself when this Wayland session ends.
pkill -u "$(id -u)" -x sf-core 2>/dev/null
# Store apps (sandboxed, docs/store.md): /var/lib/sf-pkg/store/apps.
/usr/bin/sf-shell-exec sf-core --apps /usr/share/smartfox/apps --apps /var/lib/sf-pkg/apps --store-apps /var/lib/sf-pkg/store/apps &
exec "$LAUNCHER" --fullscreen --apps /usr/share/smartfox/apps --apps /var/lib/sf-pkg/apps --store-apps /var/lib/sf-pkg/store/apps