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") {