Vanessa 2024-01-20 23:45:52 +08:00
parent 781e2276bf
commit 7e0c95c8c6
4 changed files with 34 additions and 35 deletions

View file

@ -6,8 +6,7 @@ declare const NODE_ENV: string;
const _SIYUAN_VERSION = SIYUAN_VERSION;
const _NODE_ENV = NODE_ENV;
// const altNumber = navigator.platform.toUpperCase().indexOf("MAC") === -1 ? "⌃" : "⌥";
const altNumber = "⌥";
const altNumber = navigator.platform.toUpperCase().indexOf("MAC") > -1 ? "⌃" : "⌥";
export abstract class Constants {
public static readonly SIYUAN_VERSION: string = _SIYUAN_VERSION;