diff options
author | Reimar Döffinger <Reimar.Doeffinger@gmx.de> | 2018-09-05 19:09:54 +0200 |
---|---|---|
committer | Reimar Döffinger <Reimar.Doeffinger@gmx.de> | 2018-12-12 21:35:22 +0100 |
commit | cf2202a9d5b1e781e4924f7b6b1ec26a7d773c4b (patch) | |
tree | adf6afd36b792c8b7f10f0b1bcbf93bf687a232a | |
parent | 5a6089494b758ee03d9eb92b27b533e827797ec2 (diff) |
Add script to build release for Microsoft Store.
-rw-r--r-- | release-winstore.bat | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/release-winstore.bat b/release-winstore.bat new file mode 100644 index 00000000..a6f45ad0 --- /dev/null +++ b/release-winstore.bat @@ -0,0 +1,21 @@ +call vcvars64.bat
+jom.exe distclean
+qmake.exe -config release CONFIG+=winstore
+jom.exe clean
+jom.exe
+rmdir /s /q main\release\deploy
+del /q /s main\release\deploy
+mkdir main\release\deploy
+windeployqt.exe --no-compiler-runtime --no-angle --no-opengl-sw main\release\qtpass.exe --dir main\release\deploy
+copy /b /y main\release\qtpass.exe main\release\deploy\qtpass.exe
+copy /b /y "%VSINSTALLDIR%"\VC\Redist\MSVC\14.15.26706\x64\Microsoft.VC141.CRT\concrt140.dll main\release\deploy\concrt140.dll
+copy /b /y "%VSINSTALLDIR%"\VC\Redist\MSVC\14.15.26706\x64\Microsoft.VC141.CRT\msvcp140.dll main\release\deploy\msvcp140.dll
+copy /b /y "%VSINSTALLDIR%"\VC\Redist\MSVC\14.15.26706\x64\Microsoft.VC141.CRT\vcruntime140.dll main\release\deploy\vcruntime140.dll
+
+REM Just a workaround for a bug in the Windows Store validation
+
+mkdir main\release\deploy\Assets
+
+for %%I in (artwork\*.png) do copy /b /y %%I main\release\deploy\Assets
+
+REM DesktopAppConverter.exe -Installer main\release\deploy -AppExecutable qtpass.exe -AppId ReimarDffinger.QtPassApp -PackageName 33893ReimarDffinger.QtPassApp -PackageDisplayName "QtPass App" -AppDisplayName "QtPass App" -Destination . -Publisher CN=7FA184CD-E614-4630-8C10-9BC1E1A38DD7 -PackagePublisherDisplayName "Reimar Döffinger" -Version 1.2.3.0 -MakeAppx
|