Skip to content

Commit 968f0c0

Browse files
committed
testing RC_FILE
1 parent ab4a789 commit 968f0c0

2 files changed

Lines changed: 41 additions & 0 deletions

File tree

app/app.pro

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -561,6 +561,7 @@ unix:!macx: {
561561
}
562562
win32 {
563563
RC_ICONS = moonlight.ico
564+
RC_FILE = deploy/windows/Moonlight.rc
564565
QMAKE_TARGET_COMPANY = Moonlight Game Streaming Project
565566
QMAKE_TARGET_DESCRIPTION = Moonlight Game Streaming Client
566567
QMAKE_TARGET_PRODUCT = Moonlight

app/deploy/windows/Moonlight.rc

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
#include <windows.h>
2+
3+
IDI_ICON1 ICON DISCARDABLE "Moonlight.ico"
4+
5+
1 TYPELIB "Moonlight.rc"
6+
7+
1 VERSIONINFO
8+
FILEVERSION 6,1,0,0
9+
PRODUCTVERSION 6,1,0,0
10+
FILEFLAGSMASK 0x3fL
11+
#ifdef _DEBUG
12+
FILEFLAGS VS_FF_DEBUG
13+
#else
14+
FILEFLAGS 0x0L
15+
#endif
16+
FILEOS 0x4L
17+
FILETYPE VFT_APP
18+
FILESUBTYPE 0x0L
19+
BEGIN
20+
BLOCK "StringFileInfo"
21+
BEGIN
22+
BLOCK "040904e4"
23+
BEGIN
24+
VALUE "Comments", "https://github.com/moonlight-stream/moonlight-qt\0"
25+
VALUE "CompanyName", "Moonlight Game Streaming Project\0"
26+
VALUE "FileDescription", "Stream games and other applications from another PC\0"
27+
VALUE "FileVersion", "6.1.0.0\0"
28+
VALUE "LegalCopyright", "Moonlight is licensed under the GNU GPLv3\0"
29+
VALUE "OriginalFilename", "Moonlight.exe\0"
30+
VALUE "ProductName", "Moonlight\0"
31+
VALUE "ProductVersion", "6.1.0.0\0"
32+
VALUE "GitBranch", "__GITHUB_REF_NAME__\0"
33+
VALUE "GitSHA", "__GITHUB_SHA__\0"
34+
END
35+
END
36+
BLOCK "VarFileInfo"
37+
BEGIN
38+
VALUE "Translation", 0x409, 1252
39+
END
40+
END

0 commit comments

Comments
 (0)