🔥 Windows 端不再支持 32 位系统 Fix https://github.com/siyuan-note/siyuan/issues/6386

This commit is contained in:
Liang Ding 2022-10-28 10:34:37 +08:00
parent 7a7ae253b6
commit 142abbe8e1
No known key found for this signature in database
GPG key ID: 136F30F901A2231D
6 changed files with 2 additions and 86 deletions

View file

@ -22,16 +22,12 @@ set GOOS=windows
set GOARCH=amd64
go build --tags fts5 -v -o "../app/kernel/SiYuan-Kernel.exe" -ldflags "-s -w -H=windowsgui" .
set GOOS=windows
set GOARCH=386
go build --tags fts5 -v -o "../app/kernel32/SiYuan-Kernel.exe" -ldflags "-s -w -H=windowsgui" .
cd ..
echo 'Building Electron'
cd app
call pnpm run dist
echo 'Building Electron win32'
call pnpm run dist-win32
cd ..
echo 'Building Appx'