passed to Production

This commit is contained in:
Gilles Lazures 2026-02-02 05:10:00 +01:00
parent b33779e77d
commit a606c8095d
2 changed files with 3 additions and 1 deletions

View File

@ -1,6 +1,6 @@
<Project Sdk="Microsoft.NET.Sdk"> <Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup> <PropertyGroup>
<OutputType>Exe</OutputType> <OutputType>WinExe</OutputType>
<TargetFramework>net8.0</TargetFramework> <TargetFramework>net8.0</TargetFramework>
<Platforms>AnyCPU</Platforms> <Platforms>AnyCPU</Platforms>
<ImplicitUsings>enable</ImplicitUsings> <ImplicitUsings>enable</ImplicitUsings>

View File

@ -34,6 +34,8 @@ class Program {
.SetUseOsDefaultSize(false) .SetUseOsDefaultSize(false)
.SetContextMenuEnabled(false) .SetContextMenuEnabled(false)
.SetChromeless(true) .SetChromeless(true)
.SetDevToolsEnabled(false)
.SetContextMenuEnabled(false)
.RegisterCustomSchemeHandler("http", (object sender, string scheme, string url, out string contentType) =>{ .RegisterCustomSchemeHandler("http", (object sender, string scheme, string url, out string contentType) =>{
Uri uri = new Uri(url); Uri uri = new Uri(url);
if (uri.Host == "internal") { if (uri.Host == "internal") {