From c97ceb64511fe84ac6eaf78886ba36cc27e4f7bc Mon Sep 17 00:00:00 2001 From: Valiantsin Dzerakh Date: Tue, 17 Nov 2026 10:35:32 +0300 Subject: [PATCH] A plugin stage that failed runs again once a release changes the installer: steps.py is in the lift key with plugins (#845) After warn.plugins_skipped the lift key still matched its inputs, so the next setup run (with the fixed release) found lift and compile current and never built the plugin. installer/steps.py runs that stage, so it joins the key when the mods hold a plugin. Co-Authored-By: Claude Opus 5.5 --- installer/steps.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/installer/steps.py b/installer/steps.py index 70211bf0..44387eb4 100644 --- a/installer/steps.py +++ b/installer/steps.py @@ -929,9 +929,10 @@ class Lift(Step): # fingerprint takes a file's name and content only; the paths under mods/ go in too, because tools/cheats.py # and tools/exefs_patches.py name each patch set after its mod folder, so a renamed folder needs a lift # A mod plugin is built by running its init on a totk.exe of this build (tools/exefs_plugins.py), so the - # runtime is in the key too when there is one. + # runtime is in the key too when there is one, and this file, which runs that stage: a plugin stage that failed + # (warn.plugins_skipped, the game built without the plugins) runs again once a release changes it. files = cheat_files(ctx) + exefs_files(ctx) + plugin_files(ctx) - extra = [ctx.layout.tools / 'exefs_plugins.py', runtime_key(ctx)] if plugin_files(ctx) else [] + extra = [ctx.layout.tools / 'exefs_plugins.py', Path(__file__), runtime_key(ctx)] if plugin_files(ctx) else [] return fingerprint('lift-5', ctx.keys['extract'], ctx.layout.recomp, ctx.layout.patches(game_version(ctx)), ctx.layout.tools / 'cheats.py', ctx.layout.tools / 'exefs_patches.py', *extra, *files, *(f.relative_to(ctx.dest / 'mods').as_posix() for f in files))