From 3f503bcb1cadca08a5d3ef8b33031f7e897d9545 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tam=C3=A1s=20B=C3=A1lint=20Misius?= Date: Sun, 21 Jan 2024 14:14:57 +0100 Subject: [PATCH] Disable custom executable manifest in vs ghactions workflows See 1ff6a2d0ae3a for the original problem. The fix in that commit was a bad idea, the patch got stale and broke the previous commit. --- .github/build.sh | 20 +++----------------- meson_options.txt | 6 ++++++ resources/meson.build | 19 ++++++++++++++----- resources/powder-res.template.rc | 3 +++ 4 files changed, 26 insertions(+), 22 deletions(-) diff --git a/.github/build.sh b/.github/build.sh index 4d4ed695dc..2fc2bb24e1 100755 --- a/.github/build.sh +++ b/.github/build.sh @@ -218,23 +218,9 @@ if [[ $PACKAGE_MODE == nolua ]]; then fi if [[ $PACKAGE_MODE == backendvs ]]; then meson_configure+=$'\t'-Dbackend=vs - echo "NOTE: patching CREATEPROCESS_MANIFEST_RESOURCE_ID out of powder-res.template.rc" - echo "TODO: remove this patch once https://github.com/mesonbuild/meson/pull/12472 makes it into a release" - echo "TODO: also remove the relevant note from the building guide" - git apply < #define HAVE_ICONS @HAVE_ICONS@ +#define HAVE_UTF8CP @HAVE_UTF8CP@ #if HAVE_ICONS IDI_ICON ICON DISCARDABLE "@ICON_EXE_ICO@" IDI_DOC_ICON ICON DISCARDABLE "@ICON_CPS_ICO@" #endif +#if HAVE_UTF8CP CREATEPROCESS_MANIFEST_RESOURCE_ID RT_MANIFEST "@WINUTF8_XML@" +#endif VS_VERSION_INFO VERSIONINFO FILEVERSION @DISPLAY_VERSION_MAJOR@,@DISPLAY_VERSION_MINOR@,0,@BUILD_NUM@