Files
GameLauncher/GameLauncher.csproj
T
armonica ee9eeb3118 設定: アプリ起動時に常に管理者権限を要求するマニフェストを追加
app.manifest を新規作成して requestedExecutionLevel に requireAdministrator を指定し、GameLauncher.csproj にマニフェストを組み込みました。
2026-10-20 11:29:47 +09:00

48 lines
1.6 KiB
XML

<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<OutputType>WinExe</OutputType>
<TargetFramework>net10.0-windows</TargetFramework>
<Nullable>enable</Nullable>
<ImplicitUsings>enable</ImplicitUsings>
<UseWPF>true</UseWPF>
<ApplicationTitle>統合ゲームランチャー (Game Launcher)</ApplicationTitle>
<AssemblyName>GameLauncher</AssemblyName>
<RootNamespace>GameLauncher</RootNamespace>
<!-- 単一ファイル発行の設定 -->
<PublishSingleFile>true</PublishSingleFile>
<IncludeAllContentForSelfExtract>true</IncludeAllContentForSelfExtract>
<DebugType>embedded</DebugType>
<ApplicationManifest>app.manifest</ApplicationManifest>
</PropertyGroup>
<ItemGroup>
<Compile Remove="Engines\Nwjs\NwjsUnpackerToolProvider.cs" />
</ItemGroup>
<ItemGroup>
<None Remove="Engines\Nwjs\Tools\speedhack-i686\hid.dll" />
<None Remove="Engines\Nwjs\Tools\speedhack-i686\version.dll" />
<None Remove="plugins\AlwaysMaxHpMp.js" />
</ItemGroup>
<ItemGroup>
<None Update="plugins\**">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
<None Update="Config.tjs">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
<!-- 各エンジンの外部ツール(例: EVB 解凍ツール evbunpack.exe)をビルド出力へコピー -->
<None Update="Engines\**\Tools\**">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
</ItemGroup>
<ItemGroup>
<Folder Include="Engines\Nwjs\Tools\speedhack-i686\" />
</ItemGroup>
</Project>