mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-20 08:30:12 +01:00
🎨 移动端支持多工作空间 https://github.com/siyuan-note/siyuan/issues/4642
This commit is contained in:
parent
a99cb898c4
commit
02a2934909
3 changed files with 6 additions and 10 deletions
|
|
@ -32,16 +32,16 @@ import (
|
|||
_ "golang.org/x/mobile/bind"
|
||||
)
|
||||
|
||||
func StartKernelFast(container, appDir, workspaceDir, nativeLibDir, privateDataDir, localIP string) {
|
||||
func StartKernelFast(container, appDir, workspaceBaseDir, localIPs string) {
|
||||
go server.Serve(true)
|
||||
}
|
||||
|
||||
func StartKernel(container, appDir, workspaceDir, nativeLibDir, privateDataDir, timezoneID, localIPs, lang string) {
|
||||
func StartKernel(container, appDir, workspaceBaseDir, timezoneID, localIPs, lang string) {
|
||||
SetTimezone(container, appDir, timezoneID)
|
||||
util.Mode = "prod"
|
||||
|
||||
util.LocalIPs = strings.Split(localIPs, ",")
|
||||
util.BootMobile(container, appDir, workspaceDir, nativeLibDir, privateDataDir, lang)
|
||||
util.BootMobile(container, appDir, workspaceBaseDir, lang)
|
||||
|
||||
model.InitConf()
|
||||
go server.Serve(false)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue