From 0879dff93a5613cad41e9b2c80340959d9ca7f77 Mon Sep 17 00:00:00 2001 From: Stenzek Date: Mon, 10 Jun 2024 13:07:11 +1000 Subject: [PATCH] Updater: Add icon/rc file --- src/duckstation-qt/duckstation-qt.aps | Bin 102996 -> 116656 bytes src/duckstation-qt/duckstation-qt.rc | 4 +- src/updater/CMakeLists.txt | 1 + src/updater/resource.h | 16 ++++ src/updater/updater.rc | 110 ++++++++++++++++++++++++++ src/updater/updater.vcxproj | 3 + src/updater/updater.vcxproj.filters | 3 + 7 files changed, 135 insertions(+), 2 deletions(-) create mode 100644 src/updater/resource.h create mode 100644 src/updater/updater.rc diff --git a/src/duckstation-qt/duckstation-qt.aps b/src/duckstation-qt/duckstation-qt.aps index 2625d489c95e3b46368400e87c18c41c76b8ad3a..d115856a71be3bbbcfc40c5c8c890a2eac63f683 100644 GIT binary patch delta 14920 zcmZX*1yo!yw+4C!8{DUNpGe*l|TPq2Rl7v$=D1^_#C7EJlej<%(A&mlYB0@{}0e}(!fR`6|*bfOt0RT2O3i^Kt z*dtP1O&$aF6)KFxP*jl71OO0>1OdqZSPfmuEdOO!l#$f-%09{Q&L*96KkaU*NIT3u zJk;m?8RJ3QSi6jjU5UNu75Om{68UsDV2Kh-ldy~U{u9|n3_R4s9xOhLbry9N{n5#5 z!Zqe?1_Cv!91Q|o9oos5LXpL_|53^BE^%7}+aGR|+MaJcbvzetE~n)wY}zZ;-YkgT ztolOtNu8Yk6PUz9){t89Ib6^PyjowA1*JJgRgyHU(5H<%kp(L2ju1LXU2xWZ*zS&{ zxrJM}z@v(XdMy7kBVPcueh9JuC4ztjqENU@Btzzp;5%k4Hez4e5(0>{MowmNb^;Kf zXk|PdhTvS<(fxtXZumVSX{^poL^tKIGMU5~VqMrvZ67<)5e(57{s$<}7`7k5ZTeu^dd!g30LF3sZ9BXE zwh)juGr~5T@5B-O4S?o4;7MQ5xOGuF>8)RW!7A?E6R#0?F1TvKSV^akCY!25nrS zOI~X#)wj<~;HaOVboH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6U2*$@c~`sgSPB13;fEP_BIPL<25q$FZg z@!2qRHXH#6ju9tmq?1fHWKB)W>ZAt2FtsWKa!gLklBQA;QrS2sJlrJgq8-{j%10|r zDFKmiD^aAVDlr8@f+okJ6Pg~UGR;6|aeWTLwLreBYC40_S~Qnp2KBu zFlv(tPcda0Zj1ka-zoLyv@B7iMI6h=ksOkx=0w*@1F6kGWOdl1nu!JMeH)4MXPY|0o5fOY@ejSY2j)KJ55hfXqtDO zlKjuS!h1U{jhtrh38a@E?z#XJ>RoNU)~m)`y8{4MJoR-F dKBqM}0q{LmUnjA%>pt^7{IBZ-s_iTRegoq!`?df8 diff --git a/src/duckstation-qt/duckstation-qt.rc b/src/duckstation-qt/duckstation-qt.rc index 6a448ce1e..0038c18d7 100644 --- a/src/duckstation-qt/duckstation-qt.rc +++ b/src/duckstation-qt/duckstation-qt.rc @@ -71,9 +71,9 @@ BEGIN VALUE "FileDescription", "DuckStation PS1 Emulator" VALUE "FileVersion", "1.0.0.1" VALUE "InternalName", "duckstation-qt.exe" - VALUE "LegalCopyright", "Copyright (C) 2020 Stenzek and collaborators" + VALUE "LegalCopyright", "Copyright (C) 2020-2024 Stenzek and collaborators" VALUE "OriginalFilename", "duckstation-qt.exe" - VALUE "ProductName", "DuckStation Qt Frontend" + VALUE "ProductName", "DuckStation" VALUE "ProductVersion", "1.0.0.1" END END diff --git a/src/updater/CMakeLists.txt b/src/updater/CMakeLists.txt index 8fb16f2b7..3dbacafd8 100644 --- a/src/updater/CMakeLists.txt +++ b/src/updater/CMakeLists.txt @@ -7,6 +7,7 @@ target_link_libraries(updater PRIVATE common minizip ZLIB::ZLIB) if(WIN32) target_sources(updater PRIVATE + updater.rc win32_main.cpp win32_progress_callback.cpp win32_progress_callback.h diff --git a/src/updater/resource.h b/src/updater/resource.h new file mode 100644 index 000000000..312731b48 --- /dev/null +++ b/src/updater/resource.h @@ -0,0 +1,16 @@ +//{{NO_DEPENDENCIES}} +// Microsoft Visual C++ generated include file. +// Used by duckstation-qt.rc +// +#define IDI_ICON1 102 + +// Next default values for new objects +// +#ifdef APSTUDIO_INVOKED +#ifndef APSTUDIO_READONLY_SYMBOLS +#define _APS_NEXT_RESOURCE_VALUE 103 +#define _APS_NEXT_COMMAND_VALUE 40001 +#define _APS_NEXT_CONTROL_VALUE 1001 +#define _APS_NEXT_SYMED_VALUE 101 +#endif +#endif diff --git a/src/updater/updater.rc b/src/updater/updater.rc new file mode 100644 index 000000000..760c31794 --- /dev/null +++ b/src/updater/updater.rc @@ -0,0 +1,110 @@ +// Microsoft Visual C++ generated resource script. +// +#include "resource.h" + +#define APSTUDIO_READONLY_SYMBOLS +///////////////////////////////////////////////////////////////////////////// +// +// Generated from the TEXTINCLUDE 2 resource. +// +#include "winres.h" + +///////////////////////////////////////////////////////////////////////////// +#undef APSTUDIO_READONLY_SYMBOLS + +///////////////////////////////////////////////////////////////////////////// +// English (Australia) resources + +#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENA) +LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_AUS +#pragma code_page(1252) + +#ifdef APSTUDIO_INVOKED +///////////////////////////////////////////////////////////////////////////// +// +// TEXTINCLUDE +// + +1 TEXTINCLUDE +BEGIN + "resource.h\0" +END + +2 TEXTINCLUDE +BEGIN + "#include ""winres.h""\r\n" + "\0" +END + +3 TEXTINCLUDE +BEGIN + "\r\n" + "\0" +END + +#endif // APSTUDIO_INVOKED + + +///////////////////////////////////////////////////////////////////////////// +// +// Version +// + +VS_VERSION_INFO VERSIONINFO + FILEVERSION 1,0,0,0 + PRODUCTVERSION 1,0,0,0 + FILEFLAGSMASK 0x3fL +#ifdef _DEBUG + FILEFLAGS 0x1L +#else + FILEFLAGS 0x0L +#endif + FILEOS 0x40004L + FILETYPE 0x1L + FILESUBTYPE 0x0L +BEGIN + BLOCK "StringFileInfo" + BEGIN + BLOCK "0c0904b0" + BEGIN + VALUE "CompanyName", "https://github.com/stenzek/duckstation" + VALUE "FileDescription", "DuckStation Update Installer" + VALUE "FileVersion", "1.0.0.0" + VALUE "InternalName", "updater.exe" + VALUE "LegalCopyright", "Copyright (C) 2020-2024 Stenzek and collaborators" + VALUE "OriginalFilename", "updater.exe" + VALUE "ProductName", "DuckStation" + VALUE "ProductVersion", "1.0.0.0" + END + END + BLOCK "VarFileInfo" + BEGIN + VALUE "Translation", 0xc09, 1200 + END +END + + +///////////////////////////////////////////////////////////////////////////// +// +// Icon +// + +// Icon with lowest ID value placed first to ensure application icon +// remains consistent on all systems. +IDI_ICON1 ICON "..\\duckstation-qt\\duckstation-qt.ico" + +#endif // English (Australia) resources +///////////////////////////////////////////////////////////////////////////// + + + +#ifndef APSTUDIO_INVOKED +///////////////////////////////////////////////////////////////////////////// +// +// Generated from the TEXTINCLUDE 3 resource. +// + + +///////////////////////////////////////////////////////////////////////////// +#endif // not APSTUDIO_INVOKED + diff --git a/src/updater/updater.vcxproj b/src/updater/updater.vcxproj index c461e0af2..ac5e9d3ee 100644 --- a/src/updater/updater.vcxproj +++ b/src/updater/updater.vcxproj @@ -22,6 +22,9 @@ {ee054e08-3799-4a59-a422-18259c105ffd} + + + {32EEAF44-57F8-4C6C-A6F0-DE5667123DD5} diff --git a/src/updater/updater.vcxproj.filters b/src/updater/updater.vcxproj.filters index 6764184f7..e1c4ac6c1 100644 --- a/src/updater/updater.vcxproj.filters +++ b/src/updater/updater.vcxproj.filters @@ -13,4 +13,7 @@ + + + \ No newline at end of file