Fix the Windows build script

This commit is contained in:
ArsenArsen 2017-10-02 17:43:25 +02:00
parent b42cc72e4f
commit a3bd380733
No known key found for this signature in database
GPG Key ID: 683D2F43B0CA4BD2
2 changed files with 2 additions and 2 deletions

View File

@ -20,7 +20,7 @@ build_script:
- xcopy QtAV-depends-windows-x86+x64\* %QTDIR% /e /i /Y - xcopy QtAV-depends-windows-x86+x64\* %QTDIR% /e /i /Y
- qmake CONFIG+=nopkg ../KShare.pro - qmake CONFIG+=nopkg ../KShare.pro
- mingw32-make.exe -j%NUMBER_OF_PROCESSORS% - mingw32-make.exe -j%NUMBER_OF_PROCESSORS%
- copy release\src\KShare.exe ..\KShare.exe - copy src\release\kshare.exe ..\KShare.exe
- cd .. - cd ..
- bash AppVeyor\make_installer.sh - bash AppVeyor\make_installer.sh
artifacts: artifacts:

View File

@ -15,7 +15,7 @@ function addFileIn {
echo $name echo $name
} }
ver=$(cat main.cpp | grep setApplicationVersion | sed "s/\\s*a.setApplicationVersion(\"//g" | sed "s/\");//g") ver=$(cat src/main.cpp | grep setApplicationVersion | sed "s/\\s*a.setApplicationVersion(\"//g" | sed "s/\");//g")
cd packages/windows cd packages/windows
cp ../../KShare.exe . || exit 3 cp ../../KShare.exe . || exit 3