Skip to content

Commit 7d82e29

Browse files
committed
🎨 Improve building scripts
Signed-off-by: Daniel <845765@qq.com>
1 parent 84934ac commit 7d82e29

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

scripts/win-build.bat

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,7 @@ if defined BUILD_APPX_AMD64 (
166166
if errorlevel 1 (
167167
exit /b %errorlevel%
168168
)
169-
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
169+
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
170170

171171
rmdir /S /Q "%PROJECT_ROOT%\app\build\pre-appx" 1>nul
172172
)
@@ -178,7 +178,7 @@ if defined BUILD_APPX_ARM64 (
178178
if errorlevel 1 (
179179
exit /b %errorlevel%
180180
)
181-
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
181+
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
182182

183183
rmdir /S /Q "%PROJECT_ROOT%\app\build\pre-appx" 1>nul
184184
)

0 commit comments

Comments
 (0)