Prod mode

This commit is contained in:
Gilles Lazures 2026-02-11 09:31:50 +01:00
parent b6be2292ab
commit ce8a2e9acd
2 changed files with 3 additions and 3 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>
<RootNamespace>Photino_Boilerplate</RootNamespace> <RootNamespace>Photino_Boilerplate</RootNamespace>

View File

@ -43,8 +43,8 @@ class Program{
.SetUseOsDefaultLocation(false) .SetUseOsDefaultLocation(false)
.SetUseOsDefaultSize(false) .SetUseOsDefaultSize(false)
.SetChromeless(true) .SetChromeless(true)
// .SetDevToolsEnabled(false) .SetDevToolsEnabled(false)
// .SetContextMenuEnabled(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);
switch (uri.Host){ switch (uri.Host){