tools/generate-uac-manifest.py: Fix UAC manifest .rc
authorChun-wei Fan <fanchunwei@src.gnome.org>
Wed, 13 Oct 2021 04:17:44 +0000 (12:17 +0800)
committerMatthias Clasen <mclasen@redhat.com>
Sun, 31 Oct 2021 21:52:05 +0000 (17:52 -0400)
commit0028267228dbaa5be76415e6847ada6db81d1792
treef686136e11a06154d12d3b827051d9e3717902d4
parent9cdc332e8a306ff118b676f66a8e5c5e29cfc0fd
tools/generate-uac-manifest.py: Fix UAC manifest .rc

The resource compiler in the Windows 11 SDK does not allow one to include
winuser.h directly in resource scripts (.rc) with a rather cryptic error
message, so fix generating the .rc file to embed the UAC manifest by including
windows.h with WIN32_LEAN_AND_MEAN instead.
tools/generate-uac-manifest.py