Skip to content

Commit

Permalink
#62 - change output location for comfyui IIII
Browse files Browse the repository at this point in the history
  • Loading branch information
julianbollig committed Feb 20, 2025
1 parent c3dfebc commit e9578a2
Showing 1 changed file with 0 additions and 15 deletions.
15 changes: 0 additions & 15 deletions WebUI/electron/subprocesses/aiBackendService.ts
Original file line number Diff line number Diff line change
Expand Up @@ -72,21 +72,6 @@ export class AiBackendService extends LongLivedPythonApiService {
status: 'success',
debugMessage: `service set up completely`,
}

const homeDir = process.env.USERPROFILE
if (homeDir === undefined) {
console.error('Home directory could not be found.')
return
}
const mediaDir = path.join(homeDir, 'Documents', 'AI-Playground', 'media')
const destPath = path.join(process.env.ROOT_DIR || './', 'media')
await fs.symlink(mediaDir, destPath)
yield {
serviceName: this.name,
step: 'end',
status: 'success',
debugMessage: `${mediaDir} ##### ${destPath} #### ${process.env.ROOT_DIR}`,
}
} catch (e) {
this.appLogger.warn(`Set up of service failed due to ${e}`, this.name, true)
this.appLogger.warn(`Aborting set up of ${this.name} service environment`, this.name, true)
Expand Down

0 comments on commit e9578a2

Please sign in to comment.