feat(recomplauncher): the player's copy is the input game, and every release builds again by itself #2260
No reviewers
Labels
No labels
area/accessibility
area/audio
area/input
area/install
area/menu
area/renderer
area/saves
area/tooling
area/upscaling
beanstalk: approved
beanstalk: failed
beanstalk: needs approval
beanstalk: running
beanstalk: tested
ci: approved
good first issue
gpu/amd
gpu/igpu
gpu/intel
gpu/nvidia
help wanted
kind
bug
kind
chore
kind
docs
kind
feature
kind
performance
kind
question
needs measurements
platform/linux
platform/macos
platform/steam-deck
platform/windows
preview
priority
critical
priority
high
priority
low
regression
risk
high
risk
low
risk
medium
status
blocked
status
confirmed
status
duplicate
status
invalid
status
needs-info
status
wontfix
ci: approved
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
MagicBeanDev/Longshot!2260
Loading…
Reference in a new issue
No description provided.
Delete branch "Xarishark/Longshot:launcher/sdk-inputs"
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?
An update to the RecompLauncher integration, after RecompLauncher's SDK upgrade (0.90 Beta 68).
RecompLauncher now asks for every file as a named input, and builds a game again whenever the release
it installed changes. Nothing breaks today without this change: the launcher still reads the old
gamefield as the input
game, and ignoresprepare.version. But the old field goes away before 1.0, and thepublished schema already refuses
prepare.versionandtimeout.What changes
recomplauncher.json: the copy moves fromgameto the inputgame, with the same label and the samebuild ID check (
nup_build_ide0f3ccfa). It's the .nup file or the extracted folder, as before. Thesetup step passes it as
--game={input:game}.prepare.versionandtimeoutare gone.keeps_copyworks the same: with the copy deleted, the launcher runs the same line without--game,and the game builds from what its folder kept.
scripts/builder_package.py:release_manifestand themanifestcommand are gone. They stamped eachrelease's version into the file so the launcher would build again after an update, and it now does that
by itself. The zip and the AppImage (
scripts/linux/appimage.sh) carry the file as it is.tests/test_recomplauncher_json.pyanddocs/dev/reference/releases.mdare updated to match.Needs RecompLauncher 0.90 Beta 68 or newer. Older launchers don't read a
checkon an input, soplease merge this once Beta 68 is out.
Checked
python -I tests/test_recomplauncher_json.py: 10 tests pass.main fails it:
versionandtimeoutare no longer allowed.gameto inputs gives the same inputs, start and setup step as thisfile, and the launcher's developer check finds no problem with it.
RecompLauncher 0.90 Beta 68 reads the player's files as named inputs, and builds a game again whenever the release it installed changes. recomplauncher.json moves the copy from the old game field to the input game (the same label and build ID check, the .nup or the extracted folder), writes it as {input:game}, and drops prepare.version and timeout, which the launcher no longer reads and its published schema refuses. The zip and the AppImage now carry the file as it is: release_manifest and the manifest command, which stamped each release's version, are gone.Possibly related, for context: