This commit is contained in:
Liang Ding 2022-07-04 22:59:41 +08:00
parent 67ffbc995a
commit ac116ed206
No known key found for this signature in database
GPG key ID: 136F30F901A2231D
3 changed files with 1 additions and 8 deletions

View file

@ -29,7 +29,7 @@ import (
var assetsWatcher *fsnotify.Watcher
func WatchAssets() {
if "android" == util.Container {
if "android" == util.Container || "ios" == util.Container {
return
}

View file

@ -29,10 +29,6 @@ import (
var assetsWatcher *watcher.Watcher
func WatchAssets() {
if "iOS" == util.Container {
return
}
go func() {
watchAssets()
}()

View file

@ -271,9 +271,6 @@ func syncRepo(boot, exit, byHand bool) {
return
}
CloseWatchAssets()
defer WatchAssets()
start := time.Now()
cloudInfo := &dejavu.CloudInfo{
Dir: "main",