Skip to content
This repository has been archived by the owner on Jul 14, 2024. It is now read-only.

Commit

Permalink
fix: 追加UAC控制
Browse files Browse the repository at this point in the history
  • Loading branch information
Sallee1 committed Apr 11, 2023
1 parent 35c764a commit df1515e
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions KongYing_Installer.vcxproj
Original file line number Diff line number Diff line change
Expand Up @@ -187,6 +187,10 @@
<Command>xcopy /sey "$(ProjectDir)release\package\" "$(TargetDir)\package\"
xcopy /y "$(ProjectDir)Misc Files\installer.json" "$(TargetDir)"</Command>
</PreBuildEvent>
<Link>
<UACExecutionLevel>HighestAvailable</UACExecutionLevel>
<UACUIAccess>false</UACUIAccess>
</Link>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Out2Tmp|x64'">
<ClCompile>
Expand All @@ -203,6 +207,12 @@ xcopy /y "$(ProjectDir)Misc Files\installer.json" "$(TargetDir)"</Command>
<Command>xcopy /sey "$(ProjectDir)release\package\" "$(TargetDir)\package\"
xcopy /y "$(ProjectDir)Misc Files\installer.json" "$(TargetDir)"</Command>
</PreBuildEvent>
<Link>
<UACExecutionLevel>HighestAvailable</UACExecutionLevel>
</Link>
<Link>
<UACUIAccess>false</UACUIAccess>
</Link>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
<ClCompile>
Expand All @@ -218,6 +228,12 @@ xcopy /y "$(ProjectDir)Misc Files\installer.json" "$(TargetDir)"</Command>
<PreBuildEvent>
<Command>xcopy /y "$(ProjectDir)Misc Files\*" "$(TargetDir)"</Command>
</PreBuildEvent>
<Link>
<UACExecutionLevel>HighestAvailable</UACExecutionLevel>
</Link>
<Link>
<UACUIAccess>false</UACUIAccess>
</Link>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release_test|x64'">
<ClCompile>
Expand All @@ -234,6 +250,12 @@ xcopy /y "$(ProjectDir)Misc Files\installer.json" "$(TargetDir)"</Command>
<Command>xcopy /sey "$(ProjectDir)release\package\" "$(TargetDir)\package\"
xcopy /y "$(ProjectDir)Misc Files\installer.json" "$(TargetDir)"</Command>
</PreBuildEvent>
<Link>
<UACExecutionLevel>HighestAvailable</UACExecutionLevel>
</Link>
<Link>
<UACUIAccess>false</UACUIAccess>
</Link>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|x64'" Label="Configuration">
<ClCompile>
Expand Down

0 comments on commit df1515e

Please sign in to comment.