Skip to content

Commit 75d2320

Browse files
authored
fix: use OutputDirectory for --install-path instead of AppDirectory (#66)
Client.exe receives --install-path to determine where Upgrade.exe lives for StartApp. Previously this pointed to config.AppDirectory (the real user path), but Upgrade.exe was only copied to OutputDirectory during simulation. Change to OutputDirectory so the simulation doesn't depend on external file system state.
1 parent 9b20e0c commit 75d2320

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/Services/SimulationService.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ public async Task<SimulationResult> RunAsync(
9191
var clientArgs = new List<string>
9292
{
9393
"--server-url", _server.BaseUrl,
94-
"--install-path", config.AppDirectory,
94+
"--install-path", config.OutputDirectory,
9595
"--current-version", config.CurrentVersion,
9696
"--app-secret", config.AppSecretKey,
9797
"--product-id", config.ProductId,

0 commit comments

Comments
 (0)