🎨 Add mobile.log file to diagnose mobile issues https://github.com/siyuan-note/siyuan/issues/10270

This commit is contained in:
Daniel 2024-01-28 14:28:46 +08:00
parent c76b1f3252
commit 8c5f8d2bc4
No known key found for this signature in database
GPG key ID: 86211BA83DF03017
5 changed files with 15 additions and 4 deletions

View file

@ -84,6 +84,10 @@ func SetHttpServerPort(port int) {
filelock.AndroidServerPort = port
}
func GetCurrentWorkspacePath() string {
return util.WorkspaceDir
}
func SetTimezone(container, appDir, timezoneID string) {
if "ios" == container {
os.Setenv("ZONEINFO", filepath.Join(appDir, "app", "zoneinfo.zip"))