mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-02-18 13:08:06 +01:00
🐛 Fix local file open issue https://github.com/siyuan-note/siyuan/issues/14052
This commit is contained in:
parent
af1dac157e
commit
1dcdab24a7
2 changed files with 10 additions and 3 deletions
|
|
@ -151,6 +151,10 @@ export const isWin11 = async () => {
|
|||
return false;
|
||||
};
|
||||
|
||||
export const isWindows = () => {
|
||||
return navigator.platform.toUpperCase().indexOf("WIN") > -1;
|
||||
}
|
||||
|
||||
export const isInAndroid = () => {
|
||||
return window.siyuan.config.system.container === "android" && window.JSAndroid;
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue