feat: replace electron to puppeteer (#2700)

Co-authored-by: himself65 <himself65@outlook.com>
This commit is contained in:
Qi
2023-06-08 17:51:45 +08:00
committed by GitHub
parent de8af5f114
commit fda89b05e7
15 changed files with 134 additions and 982 deletions
+1 -1
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']) => {