From 3253b728f7106b86acda8f21a3a445cda3b15c08 Mon Sep 17 00:00:00 2001 From: Azure Date: Wed, 11 Feb 2026 03:07:10 +0100 Subject: [PATCH] Passed to winexe --- BrikInstaller.csproj | 2 +- src/main/Program.cs | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/BrikInstaller.csproj b/BrikInstaller.csproj index 32d86b1..297f43d 100644 --- a/BrikInstaller.csproj +++ b/BrikInstaller.csproj @@ -1,6 +1,6 @@  - Exe + WinExe net8.0 AnyCPU Photino_Boilerplate diff --git a/src/main/Program.cs b/src/main/Program.cs index 4d577a1..92a1bcb 100644 --- a/src/main/Program.cs +++ b/src/main/Program.cs @@ -160,10 +160,10 @@ class Program{ var productConfig = await response.Content.ReadFromJsonAsync(Constants._jsonOptions); InstallationFinish installationFinish = jsonPayload.Deserialize(Constants._jsonOptions)!; if (installationFinish.CreateShortcut) { - ShortcutService.CreateShortcut(Constants.ProductMetadata.Name, Path.Combine(Constants.ProductMetadata.InstallPath, productConfig.Executable!)); + ShortcutService.CreateShortcut(Constants.ProductMetadata.Name, Path.Combine(Constants.ProductMetadata.InstallPath, productConfig!.Executable!)); } if (installationFinish.LaunchAfterExit) { - InstallationService.LaunchApplication(Path.Combine(Constants.ProductMetadata.InstallPath, productConfig.Executable!)); + InstallationService.LaunchApplication(Path.Combine(Constants.ProductMetadata.InstallPath, productConfig!.Executable!)); } responsePayload = new { success = true }; } catch (Exception) {