update.sh only rewrote deb+launch shim checksums, truncating
pkexec-pacman-u and polkit policy after version bumps. Cover all
four sources in PKGBUILD/.SRCINFO and future update.sh runs.
Desktop Exec=grok-bot has no TTY, so interactive sudo cannot
prompt and auto-update is skipped. Try sudo -n, then pkexec of a
grok-bot-bin-only helper (auth_admin, not NOPASSWD), then
interactive sudo on a TTY. Cancel or deny still launches the
installed binary.
#16
Cursor's linux-x64 feed moved past 0.35.0 (pkgrel 2). Keep Justin on
the current official .deb: pkgver 0.36.0, pkgrel 1, commit
9465f3ae75550511296fabbb7a4b6fc8afe9e408.
0.30 shipped Exec="/opt/Grok Bot/grok-bot", so the app menu skipped
/usr/bin/grok-bot and never auto-updated. Always rewrite the desktop
Exec to the PATH shim after unpacking the .deb so that cannot regress.
Bump pkgrel to 2; clearer sudo failure hint in the launch shim.
update.sh replaced only the first sha256sums line and left orphan
hashes, so makepkg could not source PKGBUILD. Rewrite both deb and
launch-shim sums; reset pkgrel to 1 for the first 0.35.0 package.
Replace the /usr/bin/grok-bot (and sand) plain symlink with a launch
shim that checks the latest Gitea release, pacman -U's a newer
.pkg.tar.zst when available, then execs the real binary under
/opt/Grok Bot/. Skip with GROK_BOT_NO_UPDATE=1; fail soft on
network/API errors. Bump pkgrel for the packaging change.
#2
Temporary Arch/CachyOS packaging until upstream ships a native package.
Pulls Cursor's amd64 deb by commit from the linux-x64 update feed.
Includes update script and Gitea Actions for bump + makepkg release.