Skip to content

Commit 065b96a

Browse files
dtzxporterSE2Dev
authored andcommitted
Added required admin flag
Adds admin flag on launcher so injection works without fail.
1 parent d4f3c9e commit 065b96a

File tree

4 files changed

+20
-0
lines changed

4 files changed

+20
-0
lines changed
1.29 KB
Binary file not shown.
2.6 KB
Binary file not shown.

components/launcher_ldr/launcher_ldr.vcxproj

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,7 @@
6060
<Link>
6161
<SubSystem>Console</SubSystem>
6262
<GenerateDebugInformation>true</GenerateDebugInformation>
63+
<UACExecutionLevel>RequireAdministrator</UACExecutionLevel>
6364
</Link>
6465
</ItemDefinitionGroup>
6566
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
@@ -78,9 +79,11 @@
7879
<EnableCOMDATFolding>true</EnableCOMDATFolding>
7980
<OptimizeReferences>true</OptimizeReferences>
8081
<IgnoreSpecificDefaultLibraries />
82+
<UACExecutionLevel>RequireAdministrator</UACExecutionLevel>
8183
</Link>
8284
</ItemDefinitionGroup>
8385
<ItemGroup>
86+
<ClInclude Include="resource.h" />
8487
<ClInclude Include="stdafx.h" />
8588
</ItemGroup>
8689
<ItemGroup>
@@ -91,6 +94,9 @@
9194
<PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">Create</PrecompiledHeader>
9295
</ClCompile>
9396
</ItemGroup>
97+
<ItemGroup>
98+
<ResourceCompile Include="launcher_ldr.rc" />
99+
</ItemGroup>
94100
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
95101
<ImportGroup Label="ExtensionTargets">
96102
</ImportGroup>

components/launcher_ldr/resource.h

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
//{{NO_DEPENDENCIES}}
2+
// Microsoft Visual C++ generated include file.
3+
// Used by launcher_ldr.rc
4+
5+
// Next default values for new objects
6+
//
7+
#ifdef APSTUDIO_INVOKED
8+
#ifndef APSTUDIO_READONLY_SYMBOLS
9+
#define _APS_NEXT_RESOURCE_VALUE 101
10+
#define _APS_NEXT_COMMAND_VALUE 40001
11+
#define _APS_NEXT_CONTROL_VALUE 1001
12+
#define _APS_NEXT_SYMED_VALUE 101
13+
#endif
14+
#endif

0 commit comments

Comments
 (0)