🎨 Support HarmonyOS NEXT system

This commit is contained in:
Daniel 2024-12-03 00:18:03 +08:00
parent 4cbe4684b8
commit dcf7705552
No known key found for this signature in database
GPG key ID: 86211BA83DF03017
2 changed files with 2 additions and 1 deletions

View file

@ -25,6 +25,7 @@ import (
"github.com/88250/gulu"
figure "github.com/common-nighthawk/go-figure"
"github.com/siyuan-note/filelock"
"github.com/siyuan-note/httpclient"
"github.com/siyuan-note/logging"
)
@ -36,6 +37,7 @@ func BootMobile(container, appDir, workspaceBaseDir, lang string) {
initHttpClient()
ServerPort = FixedPort
Container = container
filelock.Container = Container
UserAgent = UserAgent + " " + Container + "/" + runtime.GOOS
httpclient.SetUserAgent(UserAgent)
Lang = lang