diff --git a/scripts/build.bat b/scripts/build.bat index f51a37a9..6db8e6a3 100644 --- a/scripts/build.bat +++ b/scripts/build.bat @@ -7,9 +7,11 @@ set root=%cd% call "C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Auxiliary\Build\vcvarsx86_amd64.bat" -echo "Begin build of ScreenPlay " +mkdir package +cd package -qmake.exe ScreenPlay.pro -spec win32-msvc "CONFIG+=release" +echo "Begin build of ScreenPlay " +../qmake.exe ScreenPlay.pro -spec win32-msvc "CONFIG+=release" jom.exe -j8 echo "Build ScreenPlay finished!" diff --git a/scripts/package.bat b/scripts/package.bat index 2ea44898..aeaa3e96 100644 --- a/scripts/package.bat +++ b/scripts/package.bat @@ -4,10 +4,6 @@ call "C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Auxiliary echo "Begin packaging" - -mkdir package -cd package - xcopy "Shared" "package\Launcher" /s /y C:\Qt\5.11.2\msvc2017_64\bin\windeployqt.exe --release --qmldir Launcher/qml package/Launcher/DC-Launcher.exe