mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-21 09:00:12 +01:00
This commit is contained in:
parent
781e2276bf
commit
7e0c95c8c6
4 changed files with 34 additions and 35 deletions
|
|
@ -1330,7 +1330,7 @@
|
||||||
{
|
{
|
||||||
"Type": "NodeTextMark",
|
"Type": "NodeTextMark",
|
||||||
"TextMarkType": "kbd",
|
"TextMarkType": "kbd",
|
||||||
"TextMarkTextContent": "⌥1"
|
"TextMarkTextContent": "⌃1"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"Type": "NodeText",
|
"Type": "NodeText",
|
||||||
|
|
@ -1378,7 +1378,7 @@
|
||||||
{
|
{
|
||||||
"Type": "NodeTextMark",
|
"Type": "NodeTextMark",
|
||||||
"TextMarkType": "kbd",
|
"TextMarkType": "kbd",
|
||||||
"TextMarkTextContent": "⌥2"
|
"TextMarkTextContent": "⌃2"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"Type": "NodeText",
|
"Type": "NodeText",
|
||||||
|
|
@ -1426,7 +1426,7 @@
|
||||||
{
|
{
|
||||||
"Type": "NodeTextMark",
|
"Type": "NodeTextMark",
|
||||||
"TextMarkType": "kbd",
|
"TextMarkType": "kbd",
|
||||||
"TextMarkTextContent": "⌥3"
|
"TextMarkTextContent": "⌃3"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"Type": "NodeText",
|
"Type": "NodeText",
|
||||||
|
|
@ -1474,7 +1474,7 @@
|
||||||
{
|
{
|
||||||
"Type": "NodeTextMark",
|
"Type": "NodeTextMark",
|
||||||
"TextMarkType": "kbd",
|
"TextMarkType": "kbd",
|
||||||
"TextMarkTextContent": "⌥4"
|
"TextMarkTextContent": "⌃4"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"Type": "NodeText",
|
"Type": "NodeText",
|
||||||
|
|
@ -1522,7 +1522,7 @@
|
||||||
{
|
{
|
||||||
"Type": "NodeTextMark",
|
"Type": "NodeTextMark",
|
||||||
"TextMarkType": "kbd",
|
"TextMarkType": "kbd",
|
||||||
"TextMarkTextContent": "⌥5"
|
"TextMarkTextContent": "⌃5"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"Type": "NodeText",
|
"Type": "NodeText",
|
||||||
|
|
@ -1570,7 +1570,7 @@
|
||||||
{
|
{
|
||||||
"Type": "NodeTextMark",
|
"Type": "NodeTextMark",
|
||||||
"TextMarkType": "kbd",
|
"TextMarkType": "kbd",
|
||||||
"TextMarkTextContent": "⌥6"
|
"TextMarkTextContent": "⌃6"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"Type": "NodeText",
|
"Type": "NodeText",
|
||||||
|
|
@ -1618,7 +1618,7 @@
|
||||||
{
|
{
|
||||||
"Type": "NodeTextMark",
|
"Type": "NodeTextMark",
|
||||||
"TextMarkType": "kbd",
|
"TextMarkType": "kbd",
|
||||||
"TextMarkTextContent": "⌥7"
|
"TextMarkTextContent": "⌃7"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"Type": "NodeText",
|
"Type": "NodeText",
|
||||||
|
|
@ -1666,7 +1666,7 @@
|
||||||
{
|
{
|
||||||
"Type": "NodeTextMark",
|
"Type": "NodeTextMark",
|
||||||
"TextMarkType": "kbd",
|
"TextMarkType": "kbd",
|
||||||
"TextMarkTextContent": "⌥8"
|
"TextMarkTextContent": "⌃8"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"Type": "NodeText",
|
"Type": "NodeText",
|
||||||
|
|
@ -1714,7 +1714,7 @@
|
||||||
{
|
{
|
||||||
"Type": "NodeTextMark",
|
"Type": "NodeTextMark",
|
||||||
"TextMarkType": "kbd",
|
"TextMarkType": "kbd",
|
||||||
"TextMarkTextContent": "⌥9"
|
"TextMarkTextContent": "⌃9"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"Type": "NodeText",
|
"Type": "NodeText",
|
||||||
|
|
@ -1762,7 +1762,7 @@
|
||||||
{
|
{
|
||||||
"Type": "NodeTextMark",
|
"Type": "NodeTextMark",
|
||||||
"TextMarkType": "kbd",
|
"TextMarkType": "kbd",
|
||||||
"TextMarkTextContent": "⌥0"
|
"TextMarkTextContent": "⌃0"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"Type": "NodeText",
|
"Type": "NodeText",
|
||||||
|
|
@ -12526,4 +12526,4 @@
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -1328,7 +1328,7 @@
|
||||||
{
|
{
|
||||||
"Type": "NodeTextMark",
|
"Type": "NodeTextMark",
|
||||||
"TextMarkType": "kbd",
|
"TextMarkType": "kbd",
|
||||||
"TextMarkTextContent": "⌥1"
|
"TextMarkTextContent": "⌃1"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"Type": "NodeText",
|
"Type": "NodeText",
|
||||||
|
|
@ -1376,7 +1376,7 @@
|
||||||
{
|
{
|
||||||
"Type": "NodeTextMark",
|
"Type": "NodeTextMark",
|
||||||
"TextMarkType": "kbd",
|
"TextMarkType": "kbd",
|
||||||
"TextMarkTextContent": "⌥2"
|
"TextMarkTextContent": "⌃2"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"Type": "NodeText",
|
"Type": "NodeText",
|
||||||
|
|
@ -1424,7 +1424,7 @@
|
||||||
{
|
{
|
||||||
"Type": "NodeTextMark",
|
"Type": "NodeTextMark",
|
||||||
"TextMarkType": "kbd",
|
"TextMarkType": "kbd",
|
||||||
"TextMarkTextContent": "⌥3"
|
"TextMarkTextContent": "⌃3"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"Type": "NodeText",
|
"Type": "NodeText",
|
||||||
|
|
@ -1472,7 +1472,7 @@
|
||||||
{
|
{
|
||||||
"Type": "NodeTextMark",
|
"Type": "NodeTextMark",
|
||||||
"TextMarkType": "kbd",
|
"TextMarkType": "kbd",
|
||||||
"TextMarkTextContent": "⌥4"
|
"TextMarkTextContent": "⌃4"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"Type": "NodeText",
|
"Type": "NodeText",
|
||||||
|
|
@ -1520,7 +1520,7 @@
|
||||||
{
|
{
|
||||||
"Type": "NodeTextMark",
|
"Type": "NodeTextMark",
|
||||||
"TextMarkType": "kbd",
|
"TextMarkType": "kbd",
|
||||||
"TextMarkTextContent": "⌥5"
|
"TextMarkTextContent": "⌃5"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"Type": "NodeText",
|
"Type": "NodeText",
|
||||||
|
|
@ -1568,7 +1568,7 @@
|
||||||
{
|
{
|
||||||
"Type": "NodeTextMark",
|
"Type": "NodeTextMark",
|
||||||
"TextMarkType": "kbd",
|
"TextMarkType": "kbd",
|
||||||
"TextMarkTextContent": "⌥6"
|
"TextMarkTextContent": "⌃6"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"Type": "NodeText",
|
"Type": "NodeText",
|
||||||
|
|
@ -1616,7 +1616,7 @@
|
||||||
{
|
{
|
||||||
"Type": "NodeTextMark",
|
"Type": "NodeTextMark",
|
||||||
"TextMarkType": "kbd",
|
"TextMarkType": "kbd",
|
||||||
"TextMarkTextContent": "⌥7"
|
"TextMarkTextContent": "⌃7"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"Type": "NodeText",
|
"Type": "NodeText",
|
||||||
|
|
@ -1664,7 +1664,7 @@
|
||||||
{
|
{
|
||||||
"Type": "NodeTextMark",
|
"Type": "NodeTextMark",
|
||||||
"TextMarkType": "kbd",
|
"TextMarkType": "kbd",
|
||||||
"TextMarkTextContent": "⌥8"
|
"TextMarkTextContent": "⌃8"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"Type": "NodeText",
|
"Type": "NodeText",
|
||||||
|
|
@ -1712,7 +1712,7 @@
|
||||||
{
|
{
|
||||||
"Type": "NodeTextMark",
|
"Type": "NodeTextMark",
|
||||||
"TextMarkType": "kbd",
|
"TextMarkType": "kbd",
|
||||||
"TextMarkTextContent": "⌥9"
|
"TextMarkTextContent": "⌃9"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"Type": "NodeText",
|
"Type": "NodeText",
|
||||||
|
|
@ -1760,7 +1760,7 @@
|
||||||
{
|
{
|
||||||
"Type": "NodeTextMark",
|
"Type": "NodeTextMark",
|
||||||
"TextMarkType": "kbd",
|
"TextMarkType": "kbd",
|
||||||
"TextMarkTextContent": "⌥0"
|
"TextMarkTextContent": "⌃0"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"Type": "NodeText",
|
"Type": "NodeText",
|
||||||
|
|
@ -12540,4 +12540,4 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -1321,7 +1321,7 @@
|
||||||
{
|
{
|
||||||
"Type": "NodeTextMark",
|
"Type": "NodeTextMark",
|
||||||
"TextMarkType": "kbd",
|
"TextMarkType": "kbd",
|
||||||
"TextMarkTextContent": "⌥1"
|
"TextMarkTextContent": "⌃1"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"Type": "NodeText",
|
"Type": "NodeText",
|
||||||
|
|
@ -1369,7 +1369,7 @@
|
||||||
{
|
{
|
||||||
"Type": "NodeTextMark",
|
"Type": "NodeTextMark",
|
||||||
"TextMarkType": "kbd",
|
"TextMarkType": "kbd",
|
||||||
"TextMarkTextContent": "⌥2"
|
"TextMarkTextContent": "⌃2"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"Type": "NodeText",
|
"Type": "NodeText",
|
||||||
|
|
@ -1417,7 +1417,7 @@
|
||||||
{
|
{
|
||||||
"Type": "NodeTextMark",
|
"Type": "NodeTextMark",
|
||||||
"TextMarkType": "kbd",
|
"TextMarkType": "kbd",
|
||||||
"TextMarkTextContent": "⌥3"
|
"TextMarkTextContent": "⌃3"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"Type": "NodeText",
|
"Type": "NodeText",
|
||||||
|
|
@ -1465,7 +1465,7 @@
|
||||||
{
|
{
|
||||||
"Type": "NodeTextMark",
|
"Type": "NodeTextMark",
|
||||||
"TextMarkType": "kbd",
|
"TextMarkType": "kbd",
|
||||||
"TextMarkTextContent": "⌥4"
|
"TextMarkTextContent": "⌃4"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"Type": "NodeText",
|
"Type": "NodeText",
|
||||||
|
|
@ -1513,7 +1513,7 @@
|
||||||
{
|
{
|
||||||
"Type": "NodeTextMark",
|
"Type": "NodeTextMark",
|
||||||
"TextMarkType": "kbd",
|
"TextMarkType": "kbd",
|
||||||
"TextMarkTextContent": "⌥5"
|
"TextMarkTextContent": "⌃5"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"Type": "NodeText",
|
"Type": "NodeText",
|
||||||
|
|
@ -1561,7 +1561,7 @@
|
||||||
{
|
{
|
||||||
"Type": "NodeTextMark",
|
"Type": "NodeTextMark",
|
||||||
"TextMarkType": "kbd",
|
"TextMarkType": "kbd",
|
||||||
"TextMarkTextContent": "⌥6"
|
"TextMarkTextContent": "⌃6"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"Type": "NodeText",
|
"Type": "NodeText",
|
||||||
|
|
@ -1609,7 +1609,7 @@
|
||||||
{
|
{
|
||||||
"Type": "NodeTextMark",
|
"Type": "NodeTextMark",
|
||||||
"TextMarkType": "kbd",
|
"TextMarkType": "kbd",
|
||||||
"TextMarkTextContent": "⌥7"
|
"TextMarkTextContent": "⌃7"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"Type": "NodeText",
|
"Type": "NodeText",
|
||||||
|
|
@ -1657,7 +1657,7 @@
|
||||||
{
|
{
|
||||||
"Type": "NodeTextMark",
|
"Type": "NodeTextMark",
|
||||||
"TextMarkType": "kbd",
|
"TextMarkType": "kbd",
|
||||||
"TextMarkTextContent": "⌥8"
|
"TextMarkTextContent": "⌃8"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"Type": "NodeText",
|
"Type": "NodeText",
|
||||||
|
|
@ -1705,7 +1705,7 @@
|
||||||
{
|
{
|
||||||
"Type": "NodeTextMark",
|
"Type": "NodeTextMark",
|
||||||
"TextMarkType": "kbd",
|
"TextMarkType": "kbd",
|
||||||
"TextMarkTextContent": "⌥9"
|
"TextMarkTextContent": "⌃9"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"Type": "NodeText",
|
"Type": "NodeText",
|
||||||
|
|
@ -1753,7 +1753,7 @@
|
||||||
{
|
{
|
||||||
"Type": "NodeTextMark",
|
"Type": "NodeTextMark",
|
||||||
"TextMarkType": "kbd",
|
"TextMarkType": "kbd",
|
||||||
"TextMarkTextContent": "⌥0"
|
"TextMarkTextContent": "⌃0"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"Type": "NodeText",
|
"Type": "NodeText",
|
||||||
|
|
@ -13218,4 +13218,4 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -6,8 +6,7 @@ declare const NODE_ENV: string;
|
||||||
const _SIYUAN_VERSION = SIYUAN_VERSION;
|
const _SIYUAN_VERSION = SIYUAN_VERSION;
|
||||||
const _NODE_ENV = NODE_ENV;
|
const _NODE_ENV = NODE_ENV;
|
||||||
|
|
||||||
// const altNumber = navigator.platform.toUpperCase().indexOf("MAC") === -1 ? "⌃" : "⌥";
|
const altNumber = navigator.platform.toUpperCase().indexOf("MAC") > -1 ? "⌃" : "⌥";
|
||||||
const altNumber = "⌥";
|
|
||||||
|
|
||||||
export abstract class Constants {
|
export abstract class Constants {
|
||||||
public static readonly SIYUAN_VERSION: string = _SIYUAN_VERSION;
|
public static readonly SIYUAN_VERSION: string = _SIYUAN_VERSION;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue