diff options
author | Dominik Wenger <domonoky@googlemail.com> | 2008-01-20 21:19:37 +0000 |
---|---|---|
committer | Dominik Wenger <domonoky@googlemail.com> | 2008-01-20 21:19:37 +0000 |
commit | 4e8d61442d091d5e062ebaa84de5baa178160064 (patch) | |
tree | 40b91790d8a428d71fc8fd43cf901cdf445a90b8 /rbutil/e200rpatcher | |
parent | 56b3f9275a76e7a69b1b608ea1086074b6caca95 (diff) | |
download | rockbox-4e8d61442d091d5e062ebaa84de5baa178160064.tar.gz rockbox-4e8d61442d091d5e062ebaa84de5baa178160064.zip |
add Manifests to rbutil, sansapatcher and e200rpatcher to gain needed rights on windows vista.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16120 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'rbutil/e200rpatcher')
-rw-r--r-- | rbutil/e200rpatcher/Makefile | 8 | ||||
-rw-r--r-- | rbutil/e200rpatcher/e200rpatcher.manifest | 13 | ||||
-rw-r--r-- | rbutil/e200rpatcher/e200rpatcher.rc | 1 |
3 files changed, 20 insertions, 2 deletions
diff --git a/rbutil/e200rpatcher/Makefile b/rbutil/e200rpatcher/Makefile index 73ac574651..d015d10f3c 100644 --- a/rbutil/e200rpatcher/Makefile +++ b/rbutil/e200rpatcher/Makefile @@ -14,6 +14,7 @@ WINLIBS = -I libusb-win32-device-bin-0.1.12.1/include libusb-win32-device-bin-0. NATIVECC = gcc CC = $(CROSS)gcc +WINDRES = $(CROSS)windres all: $(OUTPUT) @@ -21,9 +22,12 @@ e200rpatcher: e200rpatcher.c bootimg.c gcc $(CFLAGS) $(LIBS) -o e200rpatcher e200rpatcher.c bootimg.c strip e200rpatcher -e200rpatcher.exe: e200rpatcher.c bootimg.c - $(CC) $(CFLAGS) $(WINLIBS) -o e200rpatcher.exe e200rpatcher.c bootimg.c +e200rpatcher.exe: e200rpatcher.c bootimg.c e200rpatcher-rc.o + $(CC) $(CFLAGS) $(WINLIBS) -o e200rpatcher.exe e200rpatcher.c bootimg.c e200rpatcher-rc.o $(CROSS)strip e200rpatcher.exe + +e200rpatcher-rc.o: e200rpatcher.rc e200rpatcher.manifest + $(WINDRES) -i e200rpatcher.rc -o e200rpatcher-rc.o e200rpatcher-mac: e200rpatcher-i386 e200rpatcher-ppc lipo -create e200rpatcher-ppc e200rpatcher-i386 -output e200rpatcher-mac diff --git a/rbutil/e200rpatcher/e200rpatcher.manifest b/rbutil/e200rpatcher/e200rpatcher.manifest new file mode 100644 index 0000000000..ec0c49df33 --- /dev/null +++ b/rbutil/e200rpatcher/e200rpatcher.manifest @@ -0,0 +1,13 @@ +<?xml version="1.0" encoding="UTF-8" standalone="yes"?> +<assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0"> + <assemblyIdentity version="1.0.0.0" processorArchitecture="X86" name="e200rpatcher.exe" type="win32"/> + + <!-- Identify the application security requirements. --> + <trustInfo xmlns="urn:schemas-microsoft-com:asm.v3"> + <security> + <requestedPrivileges> + <requestedExecutionLevel level="requireAdministrator"/> + </requestedPrivileges> + </security> + </trustInfo> +</assembly> diff --git a/rbutil/e200rpatcher/e200rpatcher.rc b/rbutil/e200rpatcher/e200rpatcher.rc new file mode 100644 index 0000000000..dae43bc26c --- /dev/null +++ b/rbutil/e200rpatcher/e200rpatcher.rc @@ -0,0 +1 @@ +1 24 MOVEABLE PURE "e200rpatcher.manifest"
|