Skip to content

Commit

Permalink
inline constant value
Browse files Browse the repository at this point in the history
vue component cannot be imported in main process
-
Ticket: AUT-2324

Co-authored-by: Tamas Toth <[email protected]>
  • Loading branch information
hawser86 and tt1991 committed Oct 20, 2023
1 parent 8960d46 commit 274e18f
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/main/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ import { setDataPath, getSync } from 'electron-json-storage';
import path from 'path';
import { startWatchingForUpdates } from './auto-updater/auto-updater';
import { postFeedbackToGoogleForm } from './feedback/feedback';
import { SETTING_FILE_NAME } from '../renderer/components/settings-dialog/settings-dialog';

const logger = log.scope('main');

Expand Down Expand Up @@ -113,7 +112,7 @@ const addGoogleCloudSdkExecutablesToPATH = () => {
const loadGcloudPathFromSettings = () => {
try {
setDataPath(app.getPath('userData'));
return getSync(SETTING_FILE_NAME).gcloudPath;
return getSync('secret-editor-settings').gcloudPath;
} catch (error) {
return undefined;
}
Expand Down

0 comments on commit 274e18f

Please sign in to comment.