From a3bd3807330e3e14bf5084e42035b80f2d3a875b Mon Sep 17 00:00:00 2001 From: ArsenArsen Date: Mon, 2 Oct 2017 17:43:25 +0200 Subject: [PATCH] Fix the Windows build script --- AppVeyor/appveyor.yml | 2 +- AppVeyor/make_installer.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/AppVeyor/appveyor.yml b/AppVeyor/appveyor.yml index 08f24e2..820048f 100644 --- a/AppVeyor/appveyor.yml +++ b/AppVeyor/appveyor.yml @@ -20,7 +20,7 @@ build_script: - xcopy QtAV-depends-windows-x86+x64\* %QTDIR% /e /i /Y - qmake CONFIG+=nopkg ../KShare.pro - mingw32-make.exe -j%NUMBER_OF_PROCESSORS% - - copy release\src\KShare.exe ..\KShare.exe + - copy src\release\kshare.exe ..\KShare.exe - cd .. - bash AppVeyor\make_installer.sh artifacts: diff --git a/AppVeyor/make_installer.sh b/AppVeyor/make_installer.sh index fa08da4..620d465 100644 --- a/AppVeyor/make_installer.sh +++ b/AppVeyor/make_installer.sh @@ -15,7 +15,7 @@ function addFileIn { 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 cp ../../KShare.exe . || exit 3