()
| 64 | } |
| 65 | |
| 66 | export async function checkComfyUIVersion() { |
| 67 | try { |
| 68 | const ret = await runCommand('git rev-parse HEAD', (event) => { }, { |
| 69 | cwd: getComfyUIDir() |
| 70 | }); |
| 71 | return ret.stdout; |
| 72 | } catch(err) { |
| 73 | logger.info(err); |
| 74 | } |
| 75 | return "" |
| 76 | } |
| 77 | |
| 78 | export async function checkIsSetupedConfig() { |
| 79 | const config = appConfigManager.get(CONFIG_KEYS.appSetupConfig) |
no test coverage detected