passed to Production
This commit is contained in:
parent
b33779e77d
commit
a606c8095d
@ -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>
|
||||||
|
|||||||
@ -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") {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user