Selaa lähdekoodia

:bookmark: v2.0.14

Liang Ding 3 vuotta sitten
vanhempi
commit
87256b184d
2 muutettua tiedostoa jossa 3 lisäystä ja 3 poistoa
  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 GOOS=darwin
 export GOARCH=amd64
 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 GOOS=darwin
 export GOARCH=arm64
 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 ..
 cd ..
 
 
 echo 'Building Electron'
 echo 'Building Electron'

+ 1 - 1
scripts/linux-build.sh

@@ -19,7 +19,7 @@ export CGO_ENABLED=1
 
 
 export GOOS=linux
 export GOOS=linux
 export GOARCH=amd64
 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 ..
 cd ..
 
 
 echo 'Building Electron'
 echo 'Building Electron'