Fix the Windows build script
This commit is contained in:
parent
b42cc72e4f
commit
a3bd380733
@ -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:
|
||||||
|
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user