feat: replace electron to puppeteer (#2700)

Co-authored-by: himself65 <himself65@outlook.com>
(cherry picked from commit fda89b05e7)
This commit is contained in:
Qi
2023-06-08 17:51:45 +08:00
committed by himself65
parent 0cf3bc42e8
commit 336ff5220f
15 changed files with 134 additions and 982 deletions

View File

@@ -10,7 +10,7 @@ import { getGoogleOauthCode } from './google-auth';
const handlers = require(join(
process.env.PLUGIN_DIR ?? '../../plugins',
'./bookmark-block/server'
)) as NamespaceHandlers;
)).default as NamespaceHandlers;
export const uiHandlers = {
handleThemeChange: async (_, theme: (typeof nativeTheme)['themeSource']) => {