Skip to content

Commit

Permalink
fix gcloud path
Browse files Browse the repository at this point in the history
-
Ticket: AUT-2042

Co-authored-by: Mate Meszaros <[email protected]>
  • Loading branch information
hawser86 and mrmeszaros committed Aug 30, 2023
1 parent 15266c5 commit 80521b8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ const addGoogleCloudSdkExecutablesToPATH = () => {
if (process.platform === 'darwin') {
const possibleGcloudPaths = [
path.join(app.getPath('home'), 'google-cloud-sdk', 'bin'),
path.join('opt', 'homebrew', 'bin')
path.join('/opt', 'homebrew', 'bin')
];
process.env.PATH = [...possibleGcloudPaths, process.env.PATH].join(path.delimiter);
}
Expand Down

0 comments on commit 80521b8

Please sign in to comment.