Files
luminary/windows/launcher/webview2/LuminaryWindow.csproj
T
bhursey 726a5b922b Fix direct window launch when VBScript is disabled
The window now starts Luminary.ps1 through a hidden PowerShell process instead of relying on the VBS entry point, and the installer defaults to Luminary.cmd. Bump the beta to 0.5.1.
2026-11-28 23:03:51 +00:00

48 lines
2.1 KiB
XML

<Project Sdk="Microsoft.NET.Sdk">
<!--
Optional native window for the Windows bundle. The launcher starts it with
a url switch pointing at the local server.
It is a window host only: node.exe stays a child of the launcher, so Stop
works the same whether the UI runs here or in an Edge app window. Starting
it without a url argument (for example, double-clicking it) forwards to the
bundle launcher instead of showing a signed-out page.
Published self-contained: the customer needs no .NET install. The only
runtime requirement is Microsoft Edge WebView2, which ships with Windows
10/11 alongside Edge. EnableWindowsTargeting lets this be compiled on a
Linux build host; it still only runs on Windows.
-->
<PropertyGroup>
<OutputType>WinExe</OutputType>
<TargetFramework>net8.0-windows</TargetFramework>
<UseWindowsForms>true</UseWindowsForms>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
<AssemblyName>LuminaryWindow</AssemblyName>
<RootNamespace>Luminary</RootNamespace>
<ApplicationIcon>../Luminary.ico</ApplicationIcon>
<RuntimeIdentifier>win-x64</RuntimeIdentifier>
<SelfContained>true</SelfContained>
<PublishSingleFile>true</PublishSingleFile>
<!-- ~140 MB raw becomes roughly half that in the single file. -->
<EnableCompressionInSingleFile>true</EnableCompressionInSingleFile>
<AllowedReferenceRelatedFileExtensions>none</AllowedReferenceRelatedFileExtensions>
<!-- WebView2Loader.dll is native; single-file must extract it at startup. -->
<IncludeNativeLibrariesForSelfExtract>true</IncludeNativeLibrariesForSelfExtract>
<EnableWindowsTargeting>true</EnableWindowsTargeting>
<Version>0.5.1</Version>
<AssemblyTitle>Luminary</AssemblyTitle>
<Product>Luminary</Product>
<Company>Maple Street</Company>
<SatelliteResourceLanguages>en</SatelliteResourceLanguages>
<DebugType>none</DebugType>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Microsoft.Web.WebView2" Version="1.0.4370.26" />
</ItemGroup>
</Project>