mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-16 22:50:13 +01:00
🎨 Support opening assets through other apps on the Android https://github.com/siyuan-note/siyuan/issues/10657
This commit is contained in:
parent
1c9594be8e
commit
c5cc3ff779
2 changed files with 21 additions and 0 deletions
|
|
@ -99,6 +99,10 @@ func GetAssetAbsPath(asset string) (ret string) {
|
|||
return
|
||||
}
|
||||
|
||||
func GetMimeTypeByExt(ext string) string {
|
||||
return util.GetMimeTypeByExt(ext)
|
||||
}
|
||||
|
||||
func SetTimezone(container, appDir, timezoneID string) {
|
||||
if "ios" == container {
|
||||
os.Setenv("ZONEINFO", filepath.Join(appDir, "app", "zoneinfo.zip"))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue