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">
<PropertyGroup>
<OutputType>Exe</OutputType>
<OutputType>WinExe</OutputType>
<TargetFramework>net8.0</TargetFramework>
<Platforms>AnyCPU</Platforms>
<RootNamespace>Photino_Boilerplate</RootNamespace>

View File

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