From 2d0ec208a497f6df1f8a2c817b0b57f9c0e5611e Mon Sep 17 00:00:00 2001 From: JusterZhu Date: Thu, 21 May 2026 14:49:41 +0800 Subject: [PATCH] fix: use OutputDirectory for --install-path instead of AppDirectory 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. --- src/Services/SimulationService.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Services/SimulationService.cs b/src/Services/SimulationService.cs index ab757ee..7d6d625 100644 --- a/src/Services/SimulationService.cs +++ b/src/Services/SimulationService.cs @@ -88,7 +88,7 @@ public async Task RunAsync( var clientArgs = new List { "--server-url", _server.BaseUrl, - "--install-path", config.AppDirectory, + "--install-path", config.OutputDirectory, "--current-version", config.CurrentVersion, "--app-secret", config.AppSecretKey, "--product-id", config.ProductId,