fix: electron cannot be started in Windows (#2784)

This commit is contained in:
JimmFly
2023-06-15 14:16:27 +08:00
committed by GitHub
parent 9fd4818d81
commit 7eaff644e3
5 changed files with 8 additions and 5 deletions
+1 -1
View File
@@ -38,7 +38,7 @@ export function registerPlugin() {
'./bookmark-block/index.mjs'
);
logger.info('bookmark plugin path:', bookmarkPluginPath);
import(bookmarkPluginPath);
import('file://' + bookmarkPluginPath);
let dispose: () => void = () => {
// noop
};