Add assets

This commit is contained in:
Rim 2023-12-15 16:48:43 -05:00
parent 8d95a6e077
commit 330d8e0493
10 changed files with 33 additions and 2 deletions

1
T7x/.gitignore vendored Normal file
View File

@ -0,0 +1 @@
/build

Binary file not shown.

After

Width:  |  Height:  |  Size: 515 KiB

BIN
T7x/assets/logo-cropped.bmp Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.8 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 549 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 106 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 660 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 706 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 124 KiB

View File

@ -5,7 +5,7 @@
; Constants
!define PRODUCT_NAME "t7x"
!define PRODUCT_DESCRIPTION "Call of Duty: Black Ops III Client"
!define COPYRIGHT "Created by Rim - Open Source"
!define COPYRIGHT "Created by Rim - This product is free and open source"
!define PRODUCT_VERSION "1.0.0.0"
!define SETUP_VERSION "1.0.0.0"
@ -34,6 +34,11 @@ VIAddVersionKey "FileVersion" "${SETUP_VERSION}"
!define MUI_ABORTWARNING
!define MUI_UNABORTWARNING
; Installer Images
!define MUI_WELCOMEFINISHPAGE_BITMAP "assets\logo-cropped.bmp"
!define MUI_HEADERIMAGE_BITMAP "assets\banner-t7x-title.bmp"
!define MUI_UNWELCOMEFINISHPAGE_BITMAP "assets\logo-cropped.bmp" ; For uninstaller
; Pages
!insertmacro MUI_PAGE_WELCOME
;!insertmacro MUI_PAGE_LICENSE "Readme.txt"
@ -48,9 +53,23 @@ VIAddVersionKey "FileVersion" "${SETUP_VERSION}"
Section "Main Application" SecMain
SetOutPath $INSTDIR
File "t7x.exe"
File "base_game_dir\README.md"
File "base_game_dir\T7x_CP_Server.bat"
File "base_game_dir\T7x_MP_Server.bat"
File "base_game_dir\T7x_ZM_Server.bat"
WriteUninstaller "$INSTDIR\Uninstall.exe"
SectionEnd
Section "Game Directory t7x Files" SecT7xData
SetOutPath $INSTDIR\t7x
File /r "base_game_dir\t7x\*.*"
SectionEnd
Section "Game Directory zone Files" SecZoneData
SetOutPath $INSTDIR\zone
File /r "base_game_dir\zone\*.*"
SectionEnd
Section "LocalAppData Files" SecData
SetOutPath $LOCALAPPDATA\t7x
File /r "t7x\*.*"
@ -67,7 +86,18 @@ FunctionEnd
Section "Uninstall"
Delete $INSTDIR\t7x.exe
Delete "$DESKTOP\${PRODUCT_NAME}.lnk"
Delete "$INSTDIR\README.md"
Delete "$INSTDIR\T7x_CP_Server.bat"
Delete "$INSTDIR\T7x_MP_Server.bat"
Delete "$INSTDIR\T7x_ZM_Server.bat"
Delete "$INSTDIR\zone\server.cfg"
Delete "$INSTDIR\zone\server_cp.cfg"
Delete "$INSTDIR\zone\server_zm.cfg"
RMDir /r $INSTDIR\t7x
RMDir /r $LOCALAPPDATA\t7x
Delete "$INSTDIR\Uninstall.exe"
RMDir $INSTDIR
SectionEnd
@ -78,4 +108,4 @@ Function .onInstSuccess
SetOutPath "$INSTDIR"
CreateShortcut "$DESKTOP\${PRODUCT_NAME}.lnk" "$INSTDIR\t7x.exe" "" "$INSTDIR"
${EndIf}
FunctionEnd
FunctionEnd