Reload env path instead of restarting dyad app after node.js install

This commit is contained in:
Will Chen
2025-04-18 10:11:59 -07:00
parent 8d9aab214c
commit cc0ab0fd56
4 changed files with 62 additions and 24 deletions

View File

@@ -131,8 +131,8 @@ export class IpcClient {
return IpcClient.instance;
}
public async reloadDyad(): Promise<void> {
await this.ipcRenderer.invoke("reload-dyad");
public async reloadEnvPath(): Promise<void> {
await this.ipcRenderer.invoke("reload-env-path");
}
// Create a new app with an initial chat