main init
This commit is contained in:
42
Library/web/template/launcher/Launcher.csproj.template
Normal file
42
Library/web/template/launcher/Launcher.csproj.template
Normal file
@@ -0,0 +1,42 @@
|
||||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
|
||||
<!-- {{NAME}} desktop window: shows the HTML game in WebView2. game\** is embedded as
|
||||
resources (game/...) and served from https://{{SLUG}}.game/ - one exe, nothing unpacked.
|
||||
Build with ..\build.ps1. From _Tools\Library\web\template. -->
|
||||
<PropertyGroup>
|
||||
<OutputType>WinExe</OutputType>
|
||||
<TargetFramework>net8.0-windows</TargetFramework>
|
||||
<UseWindowsForms>true</UseWindowsForms>
|
||||
<Nullable>enable</Nullable>
|
||||
<ImplicitUsings>enable</ImplicitUsings>
|
||||
<AssemblyName>{{IDENT}}</AssemblyName>
|
||||
<RootNamespace>{{IDENT}}</RootNamespace>
|
||||
<ApplicationHighDpiMode>PerMonitorV2</ApplicationHighDpiMode>
|
||||
<Product>{{NAME}}</Product>
|
||||
<Company>Michael Media</Company>
|
||||
<Copyright>(c) {{YEAR}} Michael Media</Copyright>
|
||||
<Version>1.0.0</Version>
|
||||
<RuntimeIdentifier>win-x64</RuntimeIdentifier>
|
||||
<SelfContained>true</SelfContained>
|
||||
<PublishSingleFile>true</PublishSingleFile>
|
||||
<EnableCompressionInSingleFile>true</EnableCompressionInSingleFile>
|
||||
<IncludeNativeLibrariesForSelfExtract>true</IncludeNativeLibrariesForSelfExtract>
|
||||
<DebugType>none</DebugType>
|
||||
<SatelliteResourceLanguages>de</SatelliteResourceLanguages>
|
||||
<NoWarn>$(NoWarn);MSB3277</NoWarn>
|
||||
</PropertyGroup>
|
||||
|
||||
<!-- build.ps1 creates app.ico from game\assets\Sprites\icon.png -->
|
||||
<PropertyGroup Condition="Exists('app.ico')">
|
||||
<ApplicationIcon>app.ico</ApplicationIcon>
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<PackageReference Include="Microsoft.Web.WebView2" Version="1.0.2903.40" />
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<EmbeddedResource Include="..\game\**\*.*" LogicalName="game/%(RecursiveDir)%(Filename)%(Extension)" />
|
||||
</ItemGroup>
|
||||
|
||||
</Project>
|
||||
Reference in New Issue
Block a user