From 2ed6dd86c4515f49a528d3991c7ae504744bb28b Mon Sep 17 00:00:00 2001 From: Ron Yorston Date: Thu, 12 Jul 2018 09:02:29 +0100 Subject: win32: add manifest resource Add a manifest to declare the requested execution level of the busybox-w32 executable. --- win32/icon/Kbuild.src | 4 ++++ win32/icon/busybox-w32.manifest.src | 25 +++++++++++++++++++++++++ win32/icon/icon.rc | 2 ++ 3 files changed, 31 insertions(+) create mode 100644 win32/icon/busybox-w32.manifest.src (limited to 'win32') diff --git a/win32/icon/Kbuild.src b/win32/icon/Kbuild.src index 78b05ecc4..a12f22fd7 100644 --- a/win32/icon/Kbuild.src +++ b/win32/icon/Kbuild.src @@ -24,3 +24,7 @@ quiet_cmd_windres = WINDRES $@ win32/icon/icon.o: win32/icon/icon.rc .config win32/icon/icon.o: win32/icon/aterm.ico win32/icon/sterm.ico +win32/icon/icon.o: win32/icon/busybox-w32.manifest + +win32/icon/busybox-w32.manifest: win32/icon/busybox-w32.manifest.src .config + @sed "s/VERSION/$(BB_VER)/" win32/icon/busybox-w32.manifest.src >win32/icon/busybox-w32.manifest diff --git a/win32/icon/busybox-w32.manifest.src b/win32/icon/busybox-w32.manifest.src new file mode 100644 index 000000000..a30873dfa --- /dev/null +++ b/win32/icon/busybox-w32.manifest.src @@ -0,0 +1,25 @@ + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/win32/icon/icon.rc b/win32/icon/icon.rc index cdd399957..77332428b 100644 --- a/win32/icon/icon.rc +++ b/win32/icon/icon.rc @@ -30,3 +30,5 @@ BEGIN VALUE "Translation", 0x809, 1252 END END + +1 RT_MANIFEST "busybox-w32.manifest" -- cgit v1.2.3-55-g6feb