@echo off
del /s /q setup64bit.exe
echo "Ändern Sie alle notwendigen Einstellungen!"
packages\com.dkmtech.pacalculator\meta\package.xml
cd ..
FOR /F "tokens=* USEBACKQ" %%F IN (`dir /b *-Release`) DO (
set releaseFolder=%%F
)
cd %releaseFolder%\Release
del /s /q  ..\..\installer\packages\com.dkmtech.pacalculator\data\*
mkdir ..\..\installer\packages\com.dkmtech.pacalculator\data\setup
copy "PA Calculator.exe" "..\..\installer\packages\com.dkmtech.pacalculator\data\setup\PA Calculator.exe"
cd ..\..\installer\packages\com.dkmtech.pacalculator\data\setup
windeployqt --translations de,en "PA Calculator.exe"
7z a -r ../setup *
cd ..
rmdir /s /q setup
cd ..\..\..\
binarycreator -c config\config_win.xml -p packages setup64bit.exe
del /s packages\com.dkmtech.pacalculator\data\setup.7z