- Strip the tarball's top-level folder; stage inside the install root (same filesystem) and swap with full rollback; keep file modes. - Semver prerelease ordering (1.2.3-rc1 < 1.2.3). - UpdateController: background check, download with progress, apply, restart; required-update wording for newer protocols; Check now. - update.sh/update.bat in the bundle; Windows apply path (untested). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
4 lines
140 B
Bash
Executable File
4 lines
140 B
Bash
Executable File
#!/bin/sh
|
|
# Update this install in place (same as clicking Update in the app).
|
|
cd "$(dirname "$0")" && exec ./watch_together --upgrade "$@"
|