generated from azures04/Photino-Boilerplate
Prod mode
This commit is contained in:
parent
b6be2292ab
commit
ce8a2e9acd
@ -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>
|
||||||
|
|||||||
@ -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){
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user