1
0
mirror of https://github.com/mattermost/focalboard.git synced 2024-11-30 08:36:54 +02:00
focalboard/win-wpf/package.bat
2021-03-01 11:36:36 -08:00

20 lines
515 B
Batchfile

@echo off
WHERE makeappx.exe > nul 2>&1
IF %ERRORLEVEL% NEQ 0 set PATH=%PATH%;C:\Program Files (x86)\Windows Kits\10\App Certification Kit
WHERE makeappx.exe > nul
IF %ERRORLEVEL% NEQ 0 echo makeappx.exe not found; exit /b 1
echo Packaging...
rd /s /q msix
mkdir msix
xcopy /e /i /y Focalboard\bin\x64\Release msix
mkdir msix\Assets
copy art\StoreLogo.png msix\Assets
copy art\icon150.png msix\Assets
copy art\icon44.png msix\Assets
copy AppxManifest.xml msix
makeappx.exe pack /o /v /d msix /p Focalboard.msix