diff --git a/terminus-core/src/services/shellIntegration.service.ts b/terminus-core/src/services/shellIntegration.service.ts index 5a47d1ec..f51fe116 100644 --- a/terminus-core/src/services/shellIntegration.service.ts +++ b/terminus-core/src/services/shellIntegration.service.ts @@ -38,6 +38,16 @@ export class ShellIntegrationService { ) this.automatorWorkflowsDestination = path.join(process.env.HOME, 'Library', 'Services') } + this.updatePaths() + } + + async updatePaths (): Promise { + // Update paths in case of an update + if (this.hostApp.platform === Platform.Windows) { + if (await this.isInstalled()) { + await this.install() + } + } } async isInstalled (): Promise {