mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-02-08 00:50:05 +00:00
Add missing electron mock API
Co-Authored-By: Chenlei Hu <hcl@comfy.org>
This commit is contained in:
@@ -54,7 +54,11 @@ const mockElectronAPI: Plugin = {
|
||||
getElectronVersion: () => Promise.resolve('1.0.0'),
|
||||
getComfyUIVersion: () => '9.9.9',
|
||||
getPlatform: () => 'win32',
|
||||
changeTheme: () => {}
|
||||
changeTheme: () => {},
|
||||
Config: {
|
||||
setWindowStyle: () => {},
|
||||
getWindowStyle: () => Promise.resolve('default')
|
||||
}
|
||||
};`
|
||||
}
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user