commit 5e2593d59e713936e1c505202bfb9a6d5fc4d469
parent 359ee702833318c34f20e8547790f596cf81dde7
Author: Michael Savage <mikejsavage@gmail.com>
Date: Sat, 11 Nov 2017 12:26:46 +0200
medfall/launch manifests
Diffstat:
5 files changed, 28 insertions(+), 2 deletions(-)
diff --git a/launch_manifest.rc b/launch_manifest.rc
@@ -0,0 +1 @@
+1 24 "launch_manifest.xml"
diff --git a/launch_manifest.xml b/launch_manifest.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="utf-8"?>
+<assembly manifestVersion="1.0" xmlns="urn:schemas-microsoft-com:asm.v1">
+ <assemblyIdentity version="1.0.0.0" name="MyApplication.app" />
+ <trustInfo xmlns="urn:schemas-microsoft-com:asm.v2">
+ <security>
+ <requestedPrivileges xmlns="urn:schemas-microsoft-com:asm.v3">
+ <requestedExecutionLevel level="asInvoker" uiAccess="false" />
+ </requestedPrivileges>
+ </security>
+ </trustInfo>
+</assembly>
diff --git a/make.lua b/make.lua
@@ -18,12 +18,14 @@ if OS == "macos" then
game_ldflags = "-framework Cocoa -framework CoreVideo -framework IOKit"
end
-bin( "medfall", { "main", "clipmap", "heightmap", "decompress_bc", "skybox", "platform_network", game_objs }, { "lz4", game_libs } )
+bin( "medfall", { "main", "medfall_manifest", "clipmap", "heightmap", "decompress_bc", "skybox", "platform_network", game_objs }, { "lz4", game_libs } )
msvc_bin_ldflags( "medfall", "opengl32.lib gdi32.lib Ws2_32.lib" )
+rc( "medfall_manifest" )
gcc_bin_ldflags( "medfall", game_ldflags )
-bin( "launch", { "launcher/main", "http", "sha2", "platform_network", game_objs }, { "imgui", "monocypher", "whereami", game_libs } )
+bin( "launch", { "launcher/main", "launch_manifest", "http", "sha2", "platform_network", game_objs }, { "imgui", "monocypher", "whereami", game_libs } )
msvc_bin_ldflags( "launch", "opengl32.lib gdi32.lib Ws2_32.lib" )
+rc( "launch_manifest" )
gcc_bin_ldflags( "launch", game_ldflags )
if OS == "windows" then
diff --git a/medfall_manifest.rc b/medfall_manifest.rc
@@ -0,0 +1 @@
+1 24 "medfall_manifest.xml"
diff --git a/medfall_manifest.xml b/medfall_manifest.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="utf-8"?>
+<assembly manifestVersion="1.0" xmlns="urn:schemas-microsoft-com:asm.v1">
+ <assemblyIdentity version="1.0.0.0" name="MyApplication.app" />
+ <trustInfo xmlns="urn:schemas-microsoft-com:asm.v2">
+ <security>
+ <requestedPrivileges xmlns="urn:schemas-microsoft-com:asm.v3">
+ <requestedExecutionLevel level="asInvoker" uiAccess="false" />
+ </requestedPrivileges>
+ </security>
+ </trustInfo>
+</assembly>