Vibe fix to work on PC

This commit is contained in:
2026-09-28 12:11:15 -04:00
parent a62fb5e483
commit c1c1842966
87 changed files with 122767 additions and 43 deletions
+5 -1
View File
@@ -7,6 +7,10 @@ public partial class App : Application
public App()
{
InitializeComponent();
MainPage = new MapEditorPage();
}
protected override Window CreateWindow(IActivationState? activationState)
{
return new Window(new MapEditorPage());
}
}
@@ -0,0 +1,8 @@
<maui:MauiWinUIApplication
x:Class="ZeroSpace.MapEditor.WinUI.App"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:maui="using:Microsoft.Maui"
xmlns:local="using:ZeroSpace.MapEditor.WinUI">
</maui:MauiWinUIApplication>
@@ -0,0 +1,13 @@
using Microsoft.UI.Xaml;
namespace ZeroSpace.MapEditor.WinUI;
public partial class App : MauiWinUIApplication
{
public App()
{
this.InitializeComponent();
}
protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp();
}
@@ -0,0 +1,11 @@
<?xml version="1.0" encoding="utf-8"?>
<assembly manifestVersion="1.0" xmlns="urn:schemas-microsoft-com:asm.v1">
<assemblyIdentity version="1.0.0.0" name="ZeroSpace.MapEditor.WinUI.app"/>
<application xmlns="urn:schemas-microsoft-com:asm.v3">
<windowsSettings>
<dpiAware xmlns="http://schemas.microsoft.com/SMI/2005/WindowsSettings">true/PM</dpiAware>
<dpiAwareness xmlns="http://schemas.microsoft.com/SMI/2016/WindowsSettings">PerMonitorV2, PerMonitor</dpiAwareness>
<longPathAware xmlns="http://schemas.microsoft.com/SMI/2016/WindowsSettings">true</longPathAware>
</windowsSettings>
</application>
</assembly>
@@ -1,5 +1,5 @@
using System.Globalization;
using Microsoft.Maui.Storage;
using CommunityToolkit.Maui.Storage;
using ZeroSpace.MapEditor.Models;
using ZeroSpace.MapEditor.Services;
@@ -1,18 +1,30 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFrameworks>net10.0-windows10.0.19041.0;net10.0-maccatalyst17.0</TargetFrameworks>
<OutputType>Exe</OutputType>
<RootNamespace>ZeroSpace.MapEditor</RootNamespace>
<UseMaui>true</UseMaui>
<SingleProject>true</SingleProject>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
<PropertyGroup>
<TargetFrameworks Condition="$([MSBuild]::IsOSPlatform('windows'))">net10.0-windows10.0.19041.0</TargetFrameworks>
<TargetFrameworks Condition="!$([MSBuild]::IsOSPlatform('windows'))">net10.0-maccatalyst</TargetFrameworks>
<OutputType>Exe</OutputType>
<RootNamespace>ZeroSpace.MapEditor</RootNamespace>
<UseMaui>true</UseMaui>
<SingleProject>true</SingleProject>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
<ApplicationTitle>ZeroSpace Map Editor</ApplicationTitle>
<ApplicationId>ca.jonathanmccaffrey.zerospace.mapeditor</ApplicationId>
<ApplicationDisplayVersion>1.0</ApplicationDisplayVersion>
<ApplicationVersion>1</ApplicationVersion>
</PropertyGroup>
<ApplicationTitle>ZeroSpace Map Editor</ApplicationTitle>
<ApplicationId>ca.jonathanmccaffrey.zerospace.mapeditor</ApplicationId>
<ApplicationDisplayVersion>1.0</ApplicationDisplayVersion>
<ApplicationVersion>1</ApplicationVersion>
<!-- Unpackaged Windows desktop execution -->
<WindowsPackageType>None</WindowsPackageType>
<SupportedOSPlatformVersion Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'windows'">10.0.17763.0</SupportedOSPlatformVersion>
<TargetPlatformMinVersion Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'windows'">10.0.17763.0</TargetPlatformMinVersion>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Microsoft.Maui.Controls" Version="10.0.110" />
<PackageReference Include="CommunityToolkit.Maui.Core" Version="15.0.1" />
</ItemGroup>
</Project>