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
|
||||
|
||||
func WatchAssets() {
|
||||
if "android" == util.Container {
|
||||
if "android" == util.Container || "ios" == util.Container {
|
||||
return
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -29,10 +29,6 @@ import (
|
|||
var assetsWatcher *watcher.Watcher
|
||||
|
||||
func WatchAssets() {
|
||||
if "iOS" == util.Container {
|
||||
return
|
||||
}
|
||||
|
||||
go func() {
|
||||
watchAssets()
|
||||
}()
|
||||
|
|
|
|||
|
|
@ -271,9 +271,6 @@ func syncRepo(boot, exit, byHand bool) {
|
|||
return
|
||||
}
|
||||
|
||||
CloseWatchAssets()
|
||||
defer WatchAssets()
|
||||
|
||||
start := time.Now()
|
||||
cloudInfo := &dejavu.CloudInfo{
|
||||
Dir: "main",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue