mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-12-09 05:05:20 -05:00
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
This commit is contained in:
parent
56b3f9275a
commit
4e8d61442d
8 changed files with 54 additions and 4 deletions
|
|
@ -14,6 +14,7 @@ WINLIBS = -I libusb-win32-device-bin-0.1.12.1/include libusb-win32-device-bin-0.
|
||||||
|
|
||||||
NATIVECC = gcc
|
NATIVECC = gcc
|
||||||
CC = $(CROSS)gcc
|
CC = $(CROSS)gcc
|
||||||
|
WINDRES = $(CROSS)windres
|
||||||
|
|
||||||
all: $(OUTPUT)
|
all: $(OUTPUT)
|
||||||
|
|
||||||
|
|
@ -21,10 +22,13 @@ e200rpatcher: e200rpatcher.c bootimg.c
|
||||||
gcc $(CFLAGS) $(LIBS) -o e200rpatcher e200rpatcher.c bootimg.c
|
gcc $(CFLAGS) $(LIBS) -o e200rpatcher e200rpatcher.c bootimg.c
|
||||||
strip e200rpatcher
|
strip e200rpatcher
|
||||||
|
|
||||||
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
|
$(CC) $(CFLAGS) $(WINLIBS) -o e200rpatcher.exe e200rpatcher.c bootimg.c e200rpatcher-rc.o
|
||||||
$(CROSS)strip e200rpatcher.exe
|
$(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
|
e200rpatcher-mac: e200rpatcher-i386 e200rpatcher-ppc
|
||||||
lipo -create e200rpatcher-ppc e200rpatcher-i386 -output e200rpatcher-mac
|
lipo -create e200rpatcher-ppc e200rpatcher-i386 -output e200rpatcher-mac
|
||||||
|
|
||||||
|
|
|
||||||
13
rbutil/e200rpatcher/e200rpatcher.manifest
Normal file
13
rbutil/e200rpatcher/e200rpatcher.manifest
Normal file
|
|
@ -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>
|
||||||
1
rbutil/e200rpatcher/e200rpatcher.rc
Normal file
1
rbutil/e200rpatcher/e200rpatcher.rc
Normal file
|
|
@ -0,0 +1 @@
|
||||||
|
1 24 MOVEABLE PURE "e200rpatcher.manifest"
|
||||||
13
rbutil/rbutilqt/rbutilqt.manifest
Normal file
13
rbutil/rbutilqt/rbutilqt.manifest
Normal file
|
|
@ -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="rbutilqt.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>
|
||||||
|
|
@ -1 +1,2 @@
|
||||||
|
1 24 MOVEABLE PURE "rbutilqt.manifest"
|
||||||
RBUTIL_ICON ICON DISCARDABLE "icons/rockbox.ico"
|
RBUTIL_ICON ICON DISCARDABLE "icons/rockbox.ico"
|
||||||
|
|
|
||||||
|
|
@ -16,6 +16,7 @@ endif
|
||||||
|
|
||||||
NATIVECC = gcc
|
NATIVECC = gcc
|
||||||
CC = $(CROSS)gcc
|
CC = $(CROSS)gcc
|
||||||
|
WINDRES = $(CROSS)windres
|
||||||
|
|
||||||
all: $(OUTPUT)
|
all: $(OUTPUT)
|
||||||
|
|
||||||
|
|
@ -23,10 +24,13 @@ sansapatcher: main.c sansapatcher.c sansaio-posix.c parttypes.h bootimg_c200.c b
|
||||||
gcc $(CFLAGS) -o sansapatcher main.c sansapatcher.c sansaio-posix.c bootimg_c200.c bootimg_e200.c
|
gcc $(CFLAGS) -o sansapatcher main.c sansapatcher.c sansaio-posix.c bootimg_c200.c bootimg_e200.c
|
||||||
strip sansapatcher
|
strip sansapatcher
|
||||||
|
|
||||||
sansapatcher.exe: main.c sansapatcher.c sansaio-win32.c parttypes.h bootimg_c200.c bootimg_e200.c
|
sansapatcher.exe: main.c sansapatcher.c sansaio-win32.c parttypes.h bootimg_c200.c bootimg_e200.c sansapatcher-rc.o
|
||||||
$(CC) $(CFLAGS) -o sansapatcher.exe main.c sansapatcher.c sansaio-win32.c bootimg_c200.c bootimg_e200.c
|
$(CC) $(CFLAGS) -o sansapatcher.exe main.c sansapatcher.c sansaio-win32.c bootimg_c200.c bootimg_e200.c sansapatcher-rc.o
|
||||||
$(CROSS)strip sansapatcher.exe
|
$(CROSS)strip sansapatcher.exe
|
||||||
|
|
||||||
|
sansapatcher-rc.o: sansapatcher.rc sansapatcher.manifest
|
||||||
|
$(WINDRES) -i sansapatcher.rc -o sansapatcher-rc.o
|
||||||
|
|
||||||
sansapatcher-mac: sansapatcher-i386 sansapatcher-ppc
|
sansapatcher-mac: sansapatcher-i386 sansapatcher-ppc
|
||||||
lipo -create sansapatcher-ppc sansapatcher-i386 -output sansapatcher-mac
|
lipo -create sansapatcher-ppc sansapatcher-i386 -output sansapatcher-mac
|
||||||
|
|
||||||
|
|
|
||||||
13
rbutil/sansapatcher/sansapatcher.manifest
Normal file
13
rbutil/sansapatcher/sansapatcher.manifest
Normal file
|
|
@ -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="sansapatcher.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>
|
||||||
1
rbutil/sansapatcher/sansapatcher.rc
Normal file
1
rbutil/sansapatcher/sansapatcher.rc
Normal file
|
|
@ -0,0 +1 @@
|
||||||
|
1 24 MOVEABLE PURE "sansapatcher.manifest"
|
||||||
Loading…
Add table
Add a link
Reference in a new issue