🎨 Improve building scripts
Some checks are pending
Release Docker Image / build (push) Waiting to run

Signed-off-by: Daniel <845765@qq.com>
This commit is contained in:
Daniel 2026-02-13 15:09:47 +08:00
parent 84934ac6fd
commit 7d82e296ba
No known key found for this signature in database
GPG key ID: 86211BA83DF03017

View file

@ -166,7 +166,7 @@ if defined BUILD_APPX_AMD64 (
if errorlevel 1 (
exit /b %errorlevel%
)
call electron-windows-store --input-directory "%PROJECT_ROOT%\app\build\win-unpacked" --output-directory "%PROJECT_ROOT%\app\build\" --package-version 1.0.0.0 --package-name SiYuan --manifest "%PROJECT_ROOT%\app\appx\AppxManifest.xml" --assets "%PROJECT_ROOT%\app\appx\assets\" --make-pri true
call electron-windows-store --input-directory "%PROJECT_ROOT%\app\build\win-unpacked" --output-directory "%PROJECT_ROOT%\app\build" --package-version 1.0.0.0 --package-name SiYuan --manifest "%PROJECT_ROOT%\app\appx\AppxManifest.xml" --assets "%PROJECT_ROOT%\app\appx\assets" --make-pri true
rmdir /S /Q "%PROJECT_ROOT%\app\build\pre-appx" 1>nul
)
@ -178,7 +178,7 @@ if defined BUILD_APPX_ARM64 (
if errorlevel 1 (
exit /b %errorlevel%
)
call electron-windows-store --input-directory "%PROJECT_ROOT%\app\build\win-arm64-unpacked" --output-directory "%PROJECT_ROOT%\app\build\" --package-version 1.0.0.0 --package-name SiYuan-arm64 --manifest "%PROJECT_ROOT%\app\appx\AppxManifest-arm64.xml" --assets "%PROJECT_ROOT%\app\appx\assets\" --make-pri true
call electron-windows-store --input-directory "%PROJECT_ROOT%\app\build\win-arm64-unpacked" --output-directory "%PROJECT_ROOT%\app\build" --package-version 1.0.0.0 --package-name SiYuan-arm64 --manifest "%PROJECT_ROOT%\app\appx\AppxManifest-arm64.xml" --assets "%PROJECT_ROOT%\app\appx\assets" --make-pri true
rmdir /S /Q "%PROJECT_ROOT%\app\build\pre-appx" 1>nul
)