Add missing electron mock API

Co-Authored-By: Chenlei Hu <hcl@comfy.org>
This commit is contained in:
filtered
2025-01-11 16:43:54 +11:00
parent ad87080e8c
commit 738de3baaa

View File

@@ -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')
}
};`
}
]