Merge pull request #424 from kiwix/kiwix-desktop-console

This commit is contained in:
Matthieu Gautier 2020-05-25 15:24:38 +02:00 committed by GitHub
commit 3b38364939
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 6 additions and 1 deletions

View File

@ -3,7 +3,12 @@ REM Install kiwix-desktop
git clone https://github.com/kiwix/kiwix-desktop || exit /b 1 git clone https://github.com/kiwix/kiwix-desktop || exit /b 1
cd kiwix-desktop cd kiwix-desktop
echo "Running qmake" echo "Running qmake"
C:\Qt\5.12\msvc2017_64\bin\qmake.exe "CONFIG+=static" || exit /b 1 IF %KIWIX_DESKTOP_RELEASE% EQU 1 (
C:\Qt\5.12\msvc2017_64\bin\qmake.exe "CONFIG+=static" || exit /b 1
) else (
C:\Qt\5.12\msvc2017_64\bin\qmake.exe "CONFIG+=static console" || exit /b 1
)
echo "Running fix_desktop" echo "Running fix_desktop"
C:\Python36\Python ..\appveyor\fix_desktop_makefile.py Makefile.Release || exit /b 1 C:\Python36\Python ..\appveyor\fix_desktop_makefile.py Makefile.Release || exit /b 1
echo "Running nmake" echo "Running nmake"