mirror of
https://github.com/Cogential/frametanium.git
synced 2026-10-25 16:00:07 +01:00
Apps can now be added by repo (headset on-screen keyboard, pasted link, suggestions or the web page). The service picks the ARM64 Linux download, unpacks zips/tarballs/AppImages/single programs, and either adds the app to the Steam library with a generated run.sh and GitHub art, or runs the project's own install.sh. Adds update all, per-app pre-release setting, remove (with uninstaller), and an edit panel on the web page. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01VHDaz86aayqMULHsjByEmT
17 lines
887 B
Bash
Executable File
17 lines
887 B
Bash
Executable File
#!/bin/sh
|
|
# Installs the Port Manager service on a Steam Frame for the current user. Run it on the Frame from this folder.
|
|
set -e
|
|
here="$(cd "$(dirname "$0")" && pwd)"
|
|
dest="$HOME/.local/share/frame-port-manager"
|
|
mkdir -p "$dest" "$HOME/.config/systemd/user"
|
|
cp "$here/manager.py" "$here/page.html" "$here/catalog.json" "$here/suggestions.json" "$dest/"
|
|
rm -rf "$dest/art" && cp -r "$here/art" "$dest/art"
|
|
cp "$here/frame-port-manager.service" "$HOME/.config/systemd/user/"
|
|
systemctl --user daemon-reload
|
|
systemctl --user enable frame-port-manager.service >/dev/null 2>&1
|
|
systemctl --user restart frame-port-manager.service
|
|
sleep 1
|
|
ip=$(python3 -c 'import socket;s=socket.socket(2,2);s.connect(("192.0.2.1",9));print(s.getsockname()[0])' 2>/dev/null || hostname)
|
|
echo "Port Manager is running: http://$ip:8643"
|
|
echo "Uninstall: systemctl --user disable --now frame-port-manager.service"
|