fix: load shell automatically from env for GUI (#948)

This commit is contained in:
Michael Neale
2025-01-31 11:38:28 +11:00
committed by GitHub
parent 3d0c58e5f3
commit 928dc3d1b1
2 changed files with 7 additions and 13 deletions
+2 -2
View File
@@ -16,7 +16,7 @@ import started from 'electron-squirrel-startup';
import path from 'node:path';
import { startGoosed } from './goosed';
import { getBinaryPath } from './utils/binaryPath';
import { loadZshEnv } from './utils/loadEnv';
import { loadShellEnv } from './utils/loadEnv';
import log from './utils/logger';
import { addRecentDir, loadRecentDirs } from './utils/recentDirs';
import {
@@ -69,7 +69,7 @@ const parseArgs = () => {
};
const getGooseProvider = () => {
loadZshEnv(app.isPackaged);
loadShellEnv(app.isPackaged);
//{env-macro-start}//
//needed when goose is bundled for a specific provider
//{env-macro-end}//