fix(installer): replace a stale installer before upgrading (#3235)

This commit is contained in:
Hampus
2026-10-05 21:50:16 +02:00
committed by GitHub
parent 22b8f5454b
commit 6618a6baf4
4 changed files with 163 additions and 0 deletions
@@ -2198,6 +2198,7 @@ async function verifyInstallerExecution(installerRoot: string): Promise<Array<st
env: {
...process.env,
PATH: `${stubBin}${path.delimiter}${process.env.PATH ?? ''}`,
FLUXER_INSTALLER_REFRESHED: '1',
...(cwd == null ? {} : {PWD: cwd}),
},
});