mirror of
https://github.com/tiddly-gittly/TidGi-Desktop.git
synced 2026-01-15 05:42:17 -08:00
fix: git not found in dev
This commit is contained in:
parent
288f186401
commit
2fa184423e
1 changed files with 1 additions and 1 deletions
|
|
@ -7,4 +7,4 @@ export const SETTINGS_FOLDER = isDevelopmentOrTest
|
|||
? path.resolve(sourcePath, '..', developmentSettingFolderName)
|
||||
: // eslint-disable-next-line @typescript-eslint/no-var-requires
|
||||
path.resolve(require('electron').app.getPath('userData'), 'settings');
|
||||
export const LOCAL_GIT_DIRECTORY = isDevelopmentOrTest ? undefined : path.resolve(process.resourcesPath, 'node_modules', 'dugite', 'git');
|
||||
export const LOCAL_GIT_DIRECTORY = path.resolve(isDevelopmentOrTest ? path.join(sourcePath, '..') : process.resourcesPath, 'node_modules', 'dugite', 'git');
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue