mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-14 05:14:54 +00:00
fix: electron cannot be started in Windows (#2784)
This commit is contained in:
@@ -34,7 +34,7 @@ import('@toeverything/plugin-infra/manager')
|
||||
|
||||
console.log('import bookmark plugin', bookmarkPluginPath);
|
||||
|
||||
import(bookmarkPluginPath).catch(console.log);
|
||||
import('file://' + bookmarkPluginPath).catch(console.log);
|
||||
rootStore.sub(affinePluginsAtom, () => {
|
||||
const plugins = rootStore.get(affinePluginsAtom);
|
||||
Object.values(plugins).forEach(plugin => {
|
||||
|
||||
Reference in New Issue
Block a user