diff --git a/meson.build b/meson.build index c5e6fb4..5190e1e 100644 --- a/meson.build +++ b/meson.build @@ -60,11 +60,18 @@ configure_file( lSDL2 = dependency('SDL2', static: true) # Windows resources -# todo: gate this off if not on Windows if target_machine.system() == 'windows' windows = import('windows') WIN_RSRC = windows.compile_resources( 'rsrc/WIN32/main.rc', + depend_files: [ + 'rsrc/WIN32/app.manifest', + 'rsrc/WIN32/ICONAPPW.ico', + 'rsrc/WIN32/ICONDSKW.ico', + 'rsrc/WIN32/ICONROMW.ico', + 'rsrc/SONYDRV.bin', + 'rsrc/SONYICO.bin', + ] ) else WIN_RSRC = [] diff --git a/rsrc/WIN32/app.manifest b/rsrc/WIN32/app.manifest new file mode 100644 index 0000000..425f25f --- /dev/null +++ b/rsrc/WIN32/app.manifest @@ -0,0 +1,36 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + true + system + + + \ No newline at end of file diff --git a/rsrc/WIN32/main.aps b/rsrc/WIN32/main.aps deleted file mode 100644 index dfa0f93..0000000 Binary files a/rsrc/WIN32/main.aps and /dev/null differ diff --git a/rsrc/WIN32/main.rc b/rsrc/WIN32/main.rc index 0f68cab..d23cde7 100644 --- a/rsrc/WIN32/main.rc +++ b/rsrc/WIN32/main.rc @@ -1,4 +1,9 @@ -//LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US +#include "winresrc.h" + +LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US + +// Application manifest +CREATEPROCESS_MANIFEST_RESOURCE_ID RT_MANIFEST "app.manifest" // Icons ICO_APP ICON DISCARDABLE "ICONAPPW.ico" @@ -24,7 +29,7 @@ BEGIN VALUE "FileDescription", "A 68k Macintosh emulator\0" VALUE "FileVersion", "v0.37.0\0" VALUE "InternalName", "microvmac\0" - VALUE "LegalCopyright", "©1996-2020 various contributors. Licensed under the GPL v2.\0" + VALUE "LegalCopyright", "(c)1996-2023 various contributors. Licensed under the GPL v2.\0" VALUE "OriginalFilename", "microvmac.exe\0" VALUE "ProductName", "micro vMac\0" VALUE "ProductVersion", "v0.37.0\0"