Skip to content

An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作

:art: Support arm64 arch https://github.com/siyuan-note/siyuan/issues/11566 https://github.com/siyuan-note/siyuan/issues/11565

Daniel25d0f28622da
diff --git a/scripts/linux-build.sh b/scripts/linux-build.sh
index 5f19e4fae1..91b8325591 100755
--- a/scripts/linux-build.sh
+++ b/scripts/linux-build.sh
@@ -26,7 +26,7 @@ go build --tags fts5 -v -o "../app/kernel-linux/SiYuan-Kernel" -ldflags "-s -w"
echo 'Building Kernel arm64'
export GOARCH=arm64
export CC=~/aarch64-linux-musl-cross/bin/aarch64-linux-musl-gcc
-go build --tags fts5 -v -o "../app/kernel-linux-arm64/SiYuan-Kernel-arm64" -ldflags "-s -w" .
+go build --tags fts5 -v -o "../app/kernel-linux-arm64/SiYuan-Kernel" -ldflags "-s -w" .
cd ..
echo 'Building Electron App amd64'
diff --git a/scripts/win-build.bat b/scripts/win-build.bat
index d28284d17c..e12148e5cc 100644
--- a/scripts/win-build.bat
+++ b/scripts/win-build.bat
@@ -39,7 +39,7 @@ echo 'Building Kernel arm64'
set GOARCH=arm64
@REM if you want to build arm64, you need to install aarch64-w64-mingw32-gcc
set CC="D:/Program Files/llvm-mingw-20240518-ucrt-x86_64/bin/aarch64-w64-mingw32-gcc.exe"
-go build --tags fts5 -v -o "../app/kernel-arm64/SiYuan-Kernel-arm64.exe" -ldflags "-s -w -H=windowsgui" .
+go build --tags fts5 -v -o "../app/kernel-arm64/SiYuan-Kernel.exe" -ldflags "-s -w -H=windowsgui" .
if errorlevel 1 (
exit /b %errorlevel%
)