mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-22 09:30:14 +01:00
This commit is contained in:
parent
f2f292c5fa
commit
56fe8371d1
13 changed files with 57 additions and 33 deletions
|
|
@ -242,7 +242,7 @@ export const initWindow = (app: App) => {
|
|||
currentWindow.on("focus", winOnFocus);
|
||||
currentWindow.on("blur", winOnBlur);
|
||||
if (!isWindow()) {
|
||||
ipcRenderer.on(Constants.SIYUAN_OPENURL, (event, url) => {
|
||||
ipcRenderer.on(Constants.SIYUAN_OPEN_URL, (event, url) => {
|
||||
if (url.startsWith("siyuan://plugins/")) {
|
||||
const pluginId = url.replace("siyuan://plugins/", "").split("?")[0];
|
||||
if (!pluginId) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue