Linux builder and launcher update the way the Windows ones do #697
No reviewers
Labels
No labels
accessibility
autorelease: pending
autorelease: tagged
bug
dependencies
documentation
duplicate
enhancement
github_actions
good first issue
help wanted
invalid
question
testing wanted
wontfix
No milestone
No assignees
1 participant
Due date
No due date set.
Dependencies
No dependencies set
Reference
MagicBeanDev/Hookshot!697
Loading…
Reference in a new issue
No description provided.
Delete branch "feat/linux-launcher-updates"
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?
Summary
hookshotis a launcher, ashookshot.exeis on Windows: Play, and Update when a newer release is out. The game itself moves tobin/hookshot; saves, settings andimage.binstay in the folder. Startingbin/hookshotdirectly still asks, then closes so the builder can run.$XDG_DATA_HOME/hookshot/builderand downloads only the AppImage parts whose checksum changed. The version release carrieshookshot-linux.txt; the zips live on thelinux-partsrelease, which is not marked latest. The first AppImage is still the whole builder./tmp/.mount_...changes every start), so an update recompiles only the objects that changed.Test plan
python3 -I -B tests/test_linux_update.py(includes the packaged finish step putting the launcher athookshotand the game inbin/, and an installed builder finding its own root; both fail without the fix)tests/test_hookshot_launch.py,test_linux_builder_jobs.py,test_desktop_exec.py,test_finish_output.py,test_builder_status.py,test_sdl_audio_library.py,test_make_game_cache.py,nx2/test_version.pyhost/hos_update.ccompiles with-Wall -Wextra -Werroragainsthost/posixhookshot-linux.txtwith the AppImage and any newHookshotLinux-*.zipfiles to thelinux-partsrelease.Fix conflicts please @SkippySteve
Thank you!