Skip to content

Commit

Permalink
Fix missing python interpreter path.
Browse files Browse the repository at this point in the history
  • Loading branch information
robinjhuang committed Oct 25, 2024
1 parent d932395 commit e6abb4b
Showing 1 changed file with 1 addition and 9 deletions.
10 changes: 1 addition & 9 deletions src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -202,15 +202,7 @@ if (!gotTheLock) {
await pythonEnvironment.setup();

sendProgressUpdate('Starting Comfy Server...');
await launchPythonServer(pythonInterpreterPath, appResourcesPath, modelConfigPath, basePath);
updateElectronApp({
updateSource: {
type: UpdateSourceType.StaticStorage,
baseUrl: `https://updater.comfy.org/${process.platform}/${process.arch}`,
},
logger: log,
updateInterval: '2 hours',
});
await launchPythonServer(pythonEnvironment.pythonInterpreterPath, appResourcesPath, modelConfigPath, basePath);
} catch (error) {
log.error(error);
sendProgressUpdate(COMFY_ERROR_MESSAGE);
Expand Down

0 comments on commit e6abb4b

Please sign in to comment.