mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-16 14:40:12 +01:00
♻️ 内核中的 HTTP 客户端拆分项目 https://github.com/siyuan-note/siyuan/issues/5269
This commit is contained in:
parent
25ddad5957
commit
779e4fc4ae
13 changed files with 59 additions and 150 deletions
|
|
@ -23,12 +23,14 @@ import (
|
|||
"time"
|
||||
|
||||
figure "github.com/common-nighthawk/go-figure"
|
||||
"github.com/siyuan-note/httpclient"
|
||||
)
|
||||
|
||||
func BootMobile(container, appDir, workspaceDir, nativeLibDir, privateDataDir, lang string) {
|
||||
IncBootProgress(3, "Booting...")
|
||||
rand.Seed(time.Now().UTC().UnixNano())
|
||||
initMime()
|
||||
httpclient.SetUserAgent(UserAgent)
|
||||
|
||||
HomeDir = filepath.Join(workspaceDir, "home")
|
||||
WorkingDir = filepath.Join(appDir, "app")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue