-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added an AppVeyor CI build for a Launcher
- Loading branch information
Showing
4 changed files
with
96 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -256,5 +256,6 @@ HardcodedGraphicsData | |
|
||
/LunaLUA-bin.zip | ||
/LunaLoader-bin.zip | ||
/SMBX-Launcher.zip | ||
|
||
*.bak |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
|
||
call "C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Auxiliary\Build\vcvarsall.bat" x86 | ||
|
||
set QT_PATH=C:\Qt\5.13.2\msvc2017\bin\ | ||
set JOM=C:\Qt\Tools\QtCreator\bin\jom | ||
|
||
if not exist build-smbx-launcher\NUL md build-smbx-launcher | ||
cd build-smbx-launcher | ||
%QT_PATH%\qmake -spec win32-msvc CONFIG+=Win32 CONFIG+=release CONFIG-=debug ../LunadllNewLauncher/SMBXLauncher/SMBXLauncher.pro | ||
%JOM% /J 4 | ||
|
||
if exist build-smbx-launcher\NUL rd /S /Q deploy | ||
md deploy | ||
copy release\SMBXLauncher.exe deploy | ||
cd deploy | ||
%QT_PATH%\windeployqt --release SMBXLauncher.exe | ||
|
||
rem ----------------------- A CLEAN-UP ----------------------- | ||
|
||
rem Bearer is for audio streaming, unneeded | ||
rd /S /Q bearer | ||
rem Print support is unused | ||
rd /S /Q printsupport | ||
rem Position is unused | ||
rd /S /Q position | ||
rem Icon engines are unused | ||
rd /S /Q iconengines | ||
rem Unneeded Image formats support for Qt itself for icons and pixmaps, QtWebEngine has own that works | ||
del imageformats\qgif.dll | ||
del imageformats\qicns.dll | ||
del imageformats\qjpeg.dll | ||
del imageformats\qsvg.dll | ||
del imageformats\qtga.dll | ||
del imageformats\qtiff.dll | ||
del imageformats\qwbmp.dll | ||
del imageformats\qwebp.dll | ||
rem D3D Compiler is unneeded, it's already in a system | ||
del D3Dcompiler_*.dll | ||
rem Serial port is unused | ||
del Qt5SerialPort.dll | ||
rem SVG for Qt itself is unused | ||
del Qt5Svg.dll | ||
rem ----------------------- A CLEAN-UP ----------------------- | ||
cd .. | ||
|
||
cd .. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
@echo off | ||
|
||
SET SEVENZIP=C:\Program Files\7-Zip | ||
IF NOT EXIST "%SEVENZIP%\7z.exe" SET SEVENZIP=C:\Program Files (x86)\7-Zip | ||
IF NOT EXIST "%SEVENZIP%\7z.exe" SET SEVENZIP=C:\Programs\7-Zip | ||
|
||
set CurDir=%CD% | ||
|
||
set DeployDir=%CurDir%\build-smbx-launcher\Deploy | ||
|
||
echo Packing SMBX Launcher... | ||
"%SEVENZIP%\7z" a -tzip "SMBX-Launcher" %DeployDir%\*.* %DeployDir%\imageformats %DeployDir%\launcher %DeployDir%\platforms %DeployDir%\resources %DeployDir%\styles %DeployDir%\translations > NUL | ||
|
||
echo. | ||
echo "Everything is completed!" | ||
echo. | ||
|
||
if not "%1"=="nopause" pause |