The setup's compile step runs again when the release string changes, so totk.exe carries the version of the release that built it (#1078)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Valiantsin DzerakhandClaude Opus 5.5 committed 2026-11-18 13:32:47 +03:00
1 parent 44450a15a0
commit cedc0a63ad
2 files changed
+18 -1

No files matched your search

+4 -1
View File
@@ -1200,7 +1200,10 @@ class Compile(Step):
id = 'compile'
def key(self, ctx):
return fingerprint('compile-3', ctx.keys['lift'], runtime_key(ctx),
# The release string too: build_game.py bakes the VERSION of the tools' folder into totk.exe (the menu's title
# line), and a release that leaves the lift and the runtime alone would otherwise keep the old exe and its
# old version.
return fingerprint('compile-4', ctx.keys['lift'], runtime_key(ctx), ctx.layout.release,
ctx.layout.pgo(game_version(ctx)) or 'no profile')
def current(self, ctx, record):