aboutsummaryrefslogtreecommitdiff
path: root/qmidiplayer-desktop/qmidiplayer.rc.in
diff options
context:
space:
mode:
authorGravatar Chris Xiong <chirs241097@gmail.com> 2020-02-15 18:43:28 +0800
committerGravatar Chris Xiong <chirs241097@gmail.com> 2020-02-15 18:43:28 +0800
commit0db7268f5b81f39a4126782c2fef4282c2e75dd8 (patch)
treed1bb8ee1862283ad1a0fe0eae0e98ffbe4ef7bef /qmidiplayer-desktop/qmidiplayer.rc.in
parent03d0aa4f39f72d27fed75020d2a3e80413ae029a (diff)
downloadQMidiPlayer-0db7268f5b81f39a4126782c2fef4282c2e75dd8.tar.xz
Make resource files for Windows actually work.0.8.7-1
Diffstat (limited to 'qmidiplayer-desktop/qmidiplayer.rc.in')
-rw-r--r--qmidiplayer-desktop/qmidiplayer.rc.in29
1 files changed, 29 insertions, 0 deletions
diff --git a/qmidiplayer-desktop/qmidiplayer.rc.in b/qmidiplayer-desktop/qmidiplayer.rc.in
new file mode 100644
index 0000000..c5c268c
--- /dev/null
+++ b/qmidiplayer-desktop/qmidiplayer.rc.in
@@ -0,0 +1,29 @@
+#ifndef RT_MANIFEST
+#define RT_MANIFEST 24
+#endif
+IDI_ICON1 ICON "../img/qmidiplayer.ico"
+1 VERSIONINFO
+FILEVERSION @PROJECT_VERSION_MAJOR@,@PROJECT_VERSION_MINOR@,@PROJECT_VERSION_PATCH@,0
+PRODUCTVERSION @PROJECT_VERSION_MAJOR@,@PROJECT_VERSION_MINOR@,@PROJECT_VERSION_PATCH@,0
+FILETYPE 1 //VFT_APP
+BEGIN
+ BLOCK "StringFileInfo"
+ BEGIN
+ BLOCK "040904E4"
+ BEGIN
+ VALUE "CompanyName", "Chris Xiong\0"
+ VALUE "FileDescription", "QMidiPlayer\0"
+ VALUE "FileVersion", "@PROJECT_VERSION@\0"
+ VALUE "InternalName", "@CURRENT_SUBPROJECT@\0"
+ VALUE "LegalCopyright", "GPLv3 (Chris Xiong)"
+ VALUE "OriginalFilename", "qmidiplayer.exe\0"
+ VALUE "ProductName", "QMidiPlayer\0"
+ VALUE "ProductVersion", "@PROJECT_VERSION@\0"
+ END
+ END
+ BLOCK "VarFileInfo"
+ BEGIN
+ VALUE "Translation", 0x409, 1200
+ END
+END
+1 RT_MANIFEST "qmidiplayer.exe.xml"