设置代理切换时不再需要重启 https://github.com/siyuan-note/siyuan/issues/6787
This commit is contained in:
Liang Ding 2022-12-06 00:37:46 +08:00
parent 34c7fd5171
commit 7a3755daa1
No known key found for this signature in database
GPG key ID: 136F30F901A2231D
4 changed files with 10 additions and 0 deletions

View file

@ -32,6 +32,7 @@ func BootMobile(container, appDir, workspaceDir, nativeLibDir, privateDataDir, l
IncBootProgress(3, "Booting...")
rand.Seed(time.Now().UTC().UnixNano())
initMime()
initHttpClient()
HomeDir = filepath.Join(workspaceDir, "home")
userHomeConfDir := filepath.Join(HomeDir, ".config", "siyuan")