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))