mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-17 23:20:13 +01:00
🎨 公测云端同步数据仓库 https://github.com/siyuan-note/siyuan/issues/5337
This commit is contained in:
parent
67ffbc995a
commit
ac116ed206
3 changed files with 1 additions and 8 deletions
|
|
@ -29,7 +29,7 @@ import (
|
||||||
var assetsWatcher *fsnotify.Watcher
|
var assetsWatcher *fsnotify.Watcher
|
||||||
|
|
||||||
func WatchAssets() {
|
func WatchAssets() {
|
||||||
if "android" == util.Container {
|
if "android" == util.Container || "ios" == util.Container {
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -29,10 +29,6 @@ import (
|
||||||
var assetsWatcher *watcher.Watcher
|
var assetsWatcher *watcher.Watcher
|
||||||
|
|
||||||
func WatchAssets() {
|
func WatchAssets() {
|
||||||
if "iOS" == util.Container {
|
|
||||||
return
|
|
||||||
}
|
|
||||||
|
|
||||||
go func() {
|
go func() {
|
||||||
watchAssets()
|
watchAssets()
|
||||||
}()
|
}()
|
||||||
|
|
|
||||||
|
|
@ -271,9 +271,6 @@ func syncRepo(boot, exit, byHand bool) {
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
CloseWatchAssets()
|
|
||||||
defer WatchAssets()
|
|
||||||
|
|
||||||
start := time.Now()
|
start := time.Now()
|
||||||
cloudInfo := &dejavu.CloudInfo{
|
cloudInfo := &dejavu.CloudInfo{
|
||||||
Dir: "main",
|
Dir: "main",
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue