mac csc link
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
import { electronApp, optimizer, is } from '@electron-toolkit/utils'
|
||||
import { app, shell, BrowserWindow, ipcMain } from 'electron'
|
||||
import filesystemPlugin from 'takerofnotes-plugin-filesystem'
|
||||
import PluginRegistry from './core/PluginRegistry.js'
|
||||
import filesystemPlugin from './plugins/filesystem'
|
||||
import PluginConfig from './core/PluginConfig.js'
|
||||
import NotesAPI from './core/NotesAPI.js'
|
||||
import { join } from 'path'
|
||||
@@ -84,7 +84,8 @@ app.whenReady().then(async () => {
|
||||
const registry = new PluginRegistry()
|
||||
|
||||
// Register built-in plugins
|
||||
registry.register(filesystemPlugin)
|
||||
// TODO figure out why export is under default
|
||||
registry.register(filesystemPlugin.default)
|
||||
|
||||
// Pull plugin config
|
||||
const config = await new PluginConfig(filesystemPlugin).load()
|
||||
|
||||
Reference in New Issue
Block a user