gta5view 1.10.0 release
This commit is contained in:
parent
4a293b6acd
commit
b6241a8ff5
6 changed files with 30 additions and 4 deletions
|
@ -1,6 +1,7 @@
|
|||
######################################################################
|
||||
|
||||
!define APP_NAME "gta5view"
|
||||
!define APP_EXT ".g5e"
|
||||
!define COMP_NAME "Syping"
|
||||
!define WEB_SITE "https://gta5view.syping.de/"
|
||||
!define VERSION "1.10.0.0"
|
||||
|
@ -223,6 +224,30 @@ SectionEnd
|
|||
|
||||
######################################################################
|
||||
|
||||
Section -ShellAssoc
|
||||
WriteRegStr ${REG_ROOT} "Software\Classes\${APP_NAME}\DefaultIcon" "" "$INSTDIR\${MAIN_APP_EXE},0"
|
||||
WriteRegStr ${REG_ROOT} "Software\Classes\${APP_NAME}\shell\open\command" "" '"$INSTDIR\${MAIN_APP_EXE}" "%1"'
|
||||
WriteRegStr ${REG_ROOT} "Software\Classes\${APP_EXT}" "" "${APP_NAME}"
|
||||
WriteRegStr ${REG_ROOT} "Software\Classes\${APP_EXT}" "Content Type" "application/x-gta5view-export"
|
||||
System::Call 'SHELL32::SHChangeNotify(i0x8000000,i0,p0,p0)'
|
||||
SectionEnd
|
||||
|
||||
######################################################################
|
||||
|
||||
Section -un.ShellAssoc
|
||||
ClearErrors
|
||||
ReadRegStr $0 ${REG_ROOT} "Software\Classes\${APP_EXT}" ""
|
||||
DeleteRegKey ${REG_ROOT} "Software\Classes\${APP_NAME}"
|
||||
${IfNot} ${Errors}
|
||||
${AndIf} $0 == "${APP_NAME}"
|
||||
DeleteRegValue ${REG_ROOT} "Software\Classes\${APP_EXT}" ""
|
||||
DeleteRegKey /IfEmpty ${REG_ROOT} "Software\Classes\${APP_EXT}"
|
||||
${EndIf}
|
||||
System::Call 'SHELL32::SHChangeNotify(i0x8000000,i0,p0,p0)'
|
||||
SectionEnd
|
||||
|
||||
######################################################################
|
||||
|
||||
Section Uninstall
|
||||
${INSTALL_TYPE}
|
||||
Delete "$INSTDIR\gta5view.exe"
|
||||
|
|
|
@ -25,5 +25,5 @@ mingw64-qt-cmake \
|
|||
make -j 4 && \
|
||||
x86_64-w64-mingw32-strip -s gta5view.exe && \
|
||||
cd ${PROJECT_DIR}/assets && \
|
||||
makensis -NOCD ${PROJECT_DIR}/.ci/gta5view.nsi && \
|
||||
makensis "-XTarget amd64-unicode" -NOCD ${PROJECT_DIR}/.ci/gta5view.nsi && \
|
||||
mv -f gta5view_setup.exe gta5view-${EXECUTABLE_VERSION}_setup.exe
|
||||
|
|
|
@ -2,7 +2,7 @@ kind: pipeline
|
|||
type: docker
|
||||
|
||||
environment:
|
||||
BUILD_TYPE: "DEV"
|
||||
BUILD_TYPE: "REL"
|
||||
|
||||
steps:
|
||||
- name: Windows Installer
|
||||
|
|
|
@ -2,7 +2,7 @@ stages:
|
|||
- build
|
||||
|
||||
variables:
|
||||
BUILD_TYPE: "DEV"
|
||||
BUILD_TYPE: "REL"
|
||||
|
||||
Windows Installer:
|
||||
stage: build
|
||||
|
|
|
@ -8,7 +8,7 @@ services:
|
|||
|
||||
env:
|
||||
global:
|
||||
- BUILD_TYPE=DEV
|
||||
- BUILD_TYPE=REL
|
||||
|
||||
matrix:
|
||||
include:
|
||||
|
|
|
@ -33,6 +33,7 @@
|
|||
<developer_name>Syping</developer_name>
|
||||
|
||||
<releases>
|
||||
<release date="2021-05-27" version="1.10.0"/>
|
||||
<release date="2021-03-22" version="1.9.2"/>
|
||||
<release date="2020-12-16" version="1.9.1"/>
|
||||
<release date="2020-11-30" version="1.9.0"/>
|
||||
|
|
Loading…
Reference in a new issue