feat: Launch shim that auto-updates from Gitea releases #2
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Add a wrapper installed as /usr/bin/grok-bot (and sand if needed) that on launch: 1) reads installed version via pacman -Q grok-bot-bin, 2) fetches latest release tag/asset from https://git.s1d3sw1ped.com/api/v1/repos/s1d3sw1ped/grok-bot-bin/releases?limit=1, 3) if newer, downloads the .pkg.tar.zst and runs pacman -U (noninteractive where possible; use sudo -n first then sudo), 4) exec the real binary under /opt/Grok Bot/. Skip update check with GROK_BOT_NO_UPDATE=1. Fail soft: if network/API fails, still launch. Keep PKGBUILD installing the shim instead of a plain symlink. Coordinate with #1 CI fix. Commit style area: Imperative summary. Do not merge yourself if PR.