浏览代码

:bookmark: v2.0.14

Liang Ding 3 年之前
父节点
当前提交
87256b184d
共有 2 个文件被更改,包括 3 次插入3 次删除
  1. 2 2
      scripts/darwin-build.sh
  2. 1 1
      scripts/linux-build.sh

+ 2 - 2
scripts/darwin-build.sh

@@ -20,11 +20,11 @@ export CGO_ENABLED=1
 
 export GOOS=darwin
 export GOARCH=amd64
-go build --tags fts5 -v -o "app/kernel-darwin/SiYuan-Kernel" -ldflags "-s -w" .
+go build --tags fts5 -v -o "../app/kernel-darwin/SiYuan-Kernel" -ldflags "-s -w" .
 
 export GOOS=darwin
 export GOARCH=arm64
-go build --tags fts5 -v -o "app/kernel-darwin-arm64/SiYuan-Kernel" -ldflags "-s -w" .
+go build --tags fts5 -v -o "../app/kernel-darwin-arm64/SiYuan-Kernel" -ldflags "-s -w" .
 cd ..
 
 echo 'Building Electron'

+ 1 - 1
scripts/linux-build.sh

@@ -19,7 +19,7 @@ export CGO_ENABLED=1
 
 export GOOS=linux
 export GOARCH=amd64
-go build --tags fts5 -v -o "app/kernel-linux/SiYuan-Kernel" -ldflags "-s -w" .
+go build --tags fts5 -v -o "../app/kernel-linux/SiYuan-Kernel" -ldflags "-s -w" .
 cd ..
 
 echo 'Building Electron'