Added Windows manifests and modman_admin.exe
This commit is contained in:
parent
6259d32ac7
commit
8896cd8c68
9 changed files with 88 additions and 8 deletions
10
skel_exe/admin.manifest
Normal file
10
skel_exe/admin.manifest
Normal file
|
@ -0,0 +1,10 @@
|
|||
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
|
||||
<assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0">
|
||||
<trustInfo xmlns="urn:schemas-microsoft-com:asm.v3">
|
||||
<security>
|
||||
<requestedPrivileges>
|
||||
<requestedExecutionLevel level="requireAdministrator" uiAccess="false"/>
|
||||
</requestedPrivileges>
|
||||
</security>
|
||||
</trustInfo>
|
||||
</assembly>
|
27
skel_exe/launch4j_admin.xml
Normal file
27
skel_exe/launch4j_admin.xml
Normal file
|
@ -0,0 +1,27 @@
|
|||
<!-- Paths are relative to this xml file -->
|
||||
<launch4jConfig>
|
||||
<dontWrapJar>true</dontWrapJar>
|
||||
<headerType>console</headerType>
|
||||
<jar>./modman.jar</jar>
|
||||
<outfile>.\modman_admin.exe</outfile>
|
||||
<errTitle></errTitle>
|
||||
<cmdLine></cmdLine>
|
||||
<chdir>.</chdir>
|
||||
<priority>normal</priority>
|
||||
<downloadUrl>http://java.com/download</downloadUrl>
|
||||
<supportUrl></supportUrl>
|
||||
<customProcName>false</customProcName>
|
||||
<stayAlive>false</stayAlive>
|
||||
<manifest>admin.manifest</manifest>
|
||||
<icon></icon>
|
||||
<classPath>
|
||||
<mainClass>net.vhati.modmanager.FTLModManager</mainClass>
|
||||
<cp>modman.jar</cp>
|
||||
</classPath>
|
||||
<jre>
|
||||
<path></path>
|
||||
<minVersion>1.6.0</minVersion>
|
||||
<maxVersion></maxVersion>
|
||||
<jdkPreference>preferJre</jdkPreference>
|
||||
</jre>
|
||||
</launch4jConfig>
|
|
@ -12,6 +12,7 @@
|
|||
<supportUrl></supportUrl>
|
||||
<customProcName>false</customProcName>
|
||||
<stayAlive>false</stayAlive>
|
||||
<manifest>normal.manifest</manifest>
|
||||
<icon></icon>
|
||||
<classPath>
|
||||
<mainClass>net.vhati.modmanager.FTLModManager</mainClass>
|
10
skel_exe/normal.manifest
Normal file
10
skel_exe/normal.manifest
Normal file
|
@ -0,0 +1,10 @@
|
|||
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
|
||||
<assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0">
|
||||
<trustInfo xmlns="urn:schemas-microsoft-com:asm.v3">
|
||||
<security>
|
||||
<requestedPrivileges>
|
||||
<requestedExecutionLevel level="asInvoker" uiAccess="false"/>
|
||||
</requestedPrivileges>
|
||||
</security>
|
||||
</trustInfo>
|
||||
</assembly>
|
Loading…
Add table
Add a link
Reference in a new issue