From a606c8095daea360055493f5fcbf5387f9c6afa3 Mon Sep 17 00:00:00 2001 From: azures04 Date: Mon, 2 Feb 2026 05:10:00 +0100 Subject: [PATCH] passed to Production --- LentiaLauncher.csproj | 2 +- src/main/Program.cs | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/LentiaLauncher.csproj b/LentiaLauncher.csproj index f32fe11..f88d4a6 100644 --- a/LentiaLauncher.csproj +++ b/LentiaLauncher.csproj @@ -1,6 +1,6 @@  - Exe + WinExe net8.0 AnyCPU enable diff --git a/src/main/Program.cs b/src/main/Program.cs index 5e32e04..7987ca7 100644 --- a/src/main/Program.cs +++ b/src/main/Program.cs @@ -34,6 +34,8 @@ class Program { .SetUseOsDefaultSize(false) .SetContextMenuEnabled(false) .SetChromeless(true) + .SetDevToolsEnabled(false) + .SetContextMenuEnabled(false) .RegisterCustomSchemeHandler("http", (object sender, string scheme, string url, out string contentType) =>{ Uri uri = new Uri(url); if (uri.Host == "internal") {