aboutsummaryrefslogtreecommitdiff
path: root/res
diff options
context:
space:
mode:
authorNadia Holmquist Pedersen <nadia@nhp.sh>2022-11-06 02:53:51 +0100
committerNadia Holmquist Pedersen <nadia@nhp.sh>2022-11-06 02:53:51 +0100
commitca19ea1ce8535428d7cc969302c61bfda735c353 (patch)
tree06ae90dc4de317b2a8b4e0c3138fa7ae4dad5969 /res
parent659b7214c72fec4da58598631d3a753840a84afc (diff)
Windows resource/manifest fixes
* Report correct Windows architecture for the build in the manifest * Output processed .rc/.manifest in the CMake binary dir to prevent potential issues with the files conflicting if cross compiling melonDS on the same Windows machine * Make the original file name actually make sense
Diffstat (limited to 'res')
-rw-r--r--res/melon.rc.in4
-rw-r--r--res/xp.manifest4
2 files changed, 4 insertions, 4 deletions
diff --git a/res/melon.rc.in b/res/melon.rc.in
index 27c7cbd..2034461 100644
--- a/res/melon.rc.in
+++ b/res/melon.rc.in
@@ -2,7 +2,7 @@
#define VFT_APP 0x00000001L
//this will set your .exe icon
-100 ICON MOVEABLE PURE LOADONCALL DISCARDABLE "res/melon.ico"
+100 ICON MOVEABLE PURE LOADONCALL DISCARDABLE "${CMAKE_SOURCE_DIR}/res/melon.ico"
//include version information in .exe, modify these values to match your needs
1 VERSIONINFO
@@ -20,7 +20,7 @@ FILETYPE VFT_APP
VALUE "InternalName", "SDnolem"
VALUE "LegalCopyright", "2016-2022 melonDS team"
VALUE "LegalTrademarks", ""
- VALUE "OriginalFilename", "zafkflzdasd.exe"
+ VALUE "OriginalFilename", "melonDS.exe"
VALUE "ProductName", "melonDS"
VALUE "ProductVersion", "${melonDS_VERSION}"
}
diff --git a/res/xp.manifest b/res/xp.manifest
index 85ca945..3e2476b 100644
--- a/res/xp.manifest
+++ b/res/xp.manifest
@@ -4,7 +4,7 @@
manifestVersion="1.0">
<assemblyIdentity
name="Exe.Apps.Project"
- processorArchitecture="amd64"
+ processorArchitecture="${WIN32_ARCHITECTURE}"
version="1.0.0.0"
type="win32"/>
<description>Project</description>
@@ -14,7 +14,7 @@
type="win32"
name="Microsoft.Windows.Common-Controls"
version="6.0.0.0"
- processorArchitecture="amd64"
+ processorArchitecture="${WIN32_ARCHITECTURE}"
publicKeyToken="6595b64144ccf1df"
language="*"
/>