mirror of
https://github.com/DeeJanuz/frametop.git
synced 2026-10-06 01:00:06 +02:00
The service and menu-entry templates still pointed at the old frametop/ subfolder, so the pointer helper, input relay, and settings apps couldn't start after a clean install. The pointer helper's install step also failed when the service was still starting after 3 s; it now waits up to 20 s and doesn't abort the installer. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
20 lines
761 B
Desktop File
20 lines
761 B
Desktop File
# Template: the installer replaces @REPO@ with the repo path on the Frame.
|
|
[Unit]
|
|
Description=Frametop pointer helper: the universal 3D mouse (cursor, collision, ft_pointer driver)
|
|
Documentation=file://@REPO@/README.md
|
|
# Needs SteamVR's IPC; it starts and stops with SteamVR.
|
|
After=steamvr.service frametop-input-relay.service
|
|
PartOf=steamvr.service
|
|
|
|
[Service]
|
|
# Runs in the dev container (built there against its libraries). The helper process
|
|
# lives in the container, so clean it up explicitly around distrobox enter.
|
|
ExecStartPre=-/usr/bin/pkill -x ft-pointer
|
|
ExecStart=%h/.local/bin/distrobox enter dev -- @REPO@/pointer/helper/build/ft-pointer
|
|
ExecStopPost=-/usr/bin/pkill -x ft-pointer
|
|
Restart=on-failure
|
|
RestartSec=3
|
|
|
|
[Install]
|
|
WantedBy=steamvr.service
|