設定: アプリ起動時に常に管理者権限を要求するマニフェストを追加

app.manifest を新規作成して requestedExecutionLevel に requireAdministrator を指定し、GameLauncher.csproj にマニフェストを組み込みました。
This commit is contained in:
armonica committed 2026-10-20 11:29:47 +09:00
1 parent dc03f5284a
commit ee9eeb3118
2 files changed
+27

No files matched your search

+1
View File
@@ -14,6 +14,7 @@
<PublishSingleFile>true</PublishSingleFile>
<IncludeAllContentForSelfExtract>true</IncludeAllContentForSelfExtract>
<DebugType>embedded</DebugType>
<ApplicationManifest>app.manifest</ApplicationManifest>
</PropertyGroup>
<ItemGroup>