#!/bin/sh

# Minimal wizard session for the install medium: forge with the
# installer as its only client — no crustace shell, no dock. Launched
# by loginmanager's conditional autologin ([autologin].command) while
# the install-pending marker exists. crustace.service is never
# started, so graphical-session.target stays down and the installer's
# systemd user unit does not double-launch the wizard.

export XDG_CURRENT_DESKTOP=crustace:GNOME
export XDG_SESSION_TYPE=wayland
export XDG_SESSION_DESKTOP=eydos-installer
export GDK_BACKEND=wayland
export QT_QPA_PLATFORM=wayland

exec /usr/bin/forge --exec /usr/bin/eydos-installer-kiosk
