|
@@ -45,3 +45,25 @@ $ go run build.go
|
|
go run build.go -goos windows -no-upgrade zip
|
|
go run build.go -goos windows -no-upgrade zip
|
|
|
|
|
|
```
|
|
```
|
|
|
|
+
|
|
|
|
+**安卓项目**
|
|
|
|
+```
|
|
|
|
+git clone https://github.com/syncthing/syncthing-android
|
|
|
|
+git submodule init && git submodule update
|
|
|
|
+
|
|
|
|
+./gradlew buildNative
|
|
|
|
+./gradlew assembleDebug
|
|
|
|
+```
|
|
|
|
+注意:编译需要git,python3,ndk,go等环境。
|
|
|
|
+
|
|
|
|
+**mac项目**
|
|
|
|
+```
|
|
|
|
+git clone https://github.com/syncthing/syncthing-macos
|
|
|
|
+git submodule update --init
|
|
|
|
+
|
|
|
|
+make release-dmg
|
|
|
|
+```
|
|
|
|
+注意:
|
|
|
|
+1、安卓,mac项目都依赖 syncthing 项目
|
|
|
|
+
|
|
|
|
+2、开发环境xcode,python3,Cocoapods,golang
|