mirror of
https://gitlab.com/Syping/gta5view-cmd
synced 2024-11-21 13:10:23 +01:00
add icon+manifest for gta5view-cmd
This commit is contained in:
parent
840caac34e
commit
fe4a6cd081
4 changed files with 59 additions and 5 deletions
|
@ -25,24 +25,27 @@ TEMPLATE = app
|
||||||
CONFIG += console
|
CONFIG += console
|
||||||
|
|
||||||
SOURCES += main.cpp \
|
SOURCES += main.cpp \
|
||||||
gta5view/SnapmaticPicture.cpp \
|
gta5view/SnapmaticPicture.cpp
|
||||||
gta5view/StringParser.cpp
|
|
||||||
|
|
||||||
HEADERS += \
|
HEADERS += \
|
||||||
gta5view/SnapmaticPicture.h \
|
gta5view/SnapmaticPicture.h
|
||||||
gta5view/StringParser.h
|
|
||||||
|
|
||||||
INCLUDEPATH += ./gta5view
|
INCLUDEPATH += ./gta5view
|
||||||
|
|
||||||
# WINDOWS ONLY
|
# WINDOWS ONLY
|
||||||
|
|
||||||
win32: DEFINES += GTA5SYNC_WIN
|
win32: DEFINES += GTA5SYNC_WIN
|
||||||
# win32: RC_FILE += res/app.rc
|
win32: RC_FILE += res/app.rc
|
||||||
win32: CONFIG -= embed_manifest_exe
|
win32: CONFIG -= embed_manifest_exe
|
||||||
|
|
||||||
RESOURCES += \
|
RESOURCES += \
|
||||||
res.qrc
|
res.qrc
|
||||||
|
|
||||||
|
DISTFILES += \
|
||||||
|
res\5sync.ico \
|
||||||
|
res\app.rc \
|
||||||
|
res\gta5view-cmd.exe.manifest
|
||||||
|
|
||||||
isEmpty(GTA5SYNC_PREFIX): GTA5SYNC_PREFIX = /usr/local
|
isEmpty(GTA5SYNC_PREFIX): GTA5SYNC_PREFIX = /usr/local
|
||||||
target.path = $$GTA5SYNC_PREFIX/bin
|
target.path = $$GTA5SYNC_PREFIX/bin
|
||||||
INSTALLS += target
|
INSTALLS += target
|
||||||
|
|
BIN
res/5sync.ico
Normal file
BIN
res/5sync.ico
Normal file
Binary file not shown.
After Width: | Height: | Size: 38 KiB |
36
res/app.rc
Normal file
36
res/app.rc
Normal file
|
@ -0,0 +1,36 @@
|
||||||
|
IDI_ICON1 ICON DISCARDABLE "5sync.ico"
|
||||||
|
|
||||||
|
#define RT_MANIFEST 24
|
||||||
|
#define CREATEPROCESS_MANIFEST_RESOURCE_ID 1
|
||||||
|
CREATEPROCESS_MANIFEST_RESOURCE_ID RT_MANIFEST "gta5view-cmd.exe.manifest"
|
||||||
|
|
||||||
|
#include <windows.h>
|
||||||
|
|
||||||
|
VS_VERSION_INFO VERSIONINFO
|
||||||
|
FILEVERSION 0, 4, 0, 0
|
||||||
|
PRODUCTVERSION 0, 4, 0, 0
|
||||||
|
FILEFLAGSMASK 0x3fL
|
||||||
|
FILEFLAGS 0
|
||||||
|
FILEOS VOS_NT_WINDOWS32
|
||||||
|
FILETYPE VFT_APP
|
||||||
|
FILESUBTYPE VFT2_UNKNOWN
|
||||||
|
BEGIN
|
||||||
|
BLOCK "VarFileInfo"
|
||||||
|
BEGIN
|
||||||
|
VALUE "Translation", 0x0409, 1200
|
||||||
|
END
|
||||||
|
BLOCK "StringFileInfo"
|
||||||
|
BEGIN
|
||||||
|
BLOCK "040904b0"
|
||||||
|
BEGIN
|
||||||
|
VALUE "CompanyName", "Syping"
|
||||||
|
VALUE "FileDescription", "gta5view-cmd"
|
||||||
|
VALUE "FileVersion", "0.4.0"
|
||||||
|
VALUE "InternalName", "gta5view-cmd"
|
||||||
|
VALUE "LegalCopyright", "Copyright © 2017-2018 Syping"
|
||||||
|
VALUE "OriginalFilename", "gta5view-cmd.exe"
|
||||||
|
VALUE "ProductName", "gta5view-cmd"
|
||||||
|
VALUE "ProductVersion", "0.4.0"
|
||||||
|
END
|
||||||
|
END
|
||||||
|
END
|
15
res/gta5view-cmd.exe.manifest
Normal file
15
res/gta5view-cmd.exe.manifest
Normal file
|
@ -0,0 +1,15 @@
|
||||||
|
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
|
||||||
|
<assembly xmlns='urn:schemas-microsoft-com:asm.v1' manifestVersion='1.0'>
|
||||||
|
<trustInfo xmlns="urn:schemas-microsoft-com:asm.v3">
|
||||||
|
<security>
|
||||||
|
<requestedPrivileges>
|
||||||
|
<requestedExecutionLevel level='asInvoker' uiAccess='false' />
|
||||||
|
</requestedPrivileges>
|
||||||
|
</security>
|
||||||
|
</trustInfo>
|
||||||
|
<dependency>
|
||||||
|
<dependentAssembly>
|
||||||
|
<assemblyIdentity type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' publicKeyToken='6595b64144ccf1df' language='*' processorArchitecture='*' />
|
||||||
|
</dependentAssembly>
|
||||||
|
</dependency>
|
||||||
|
</assembly>
|
Loading…
Reference in a new issue