Skip to content

Commit

Permalink
fix: zx path
Browse files Browse the repository at this point in the history
  • Loading branch information
linonetwo committed Nov 17, 2022
1 parent f9a5bfe commit 956a8c3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/constants/paths.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@ export const CHROME_ERROR_PATH = 'chrome-error://chromewebdata/';
export const LOGIN_REDIRECT_PATH = 'http://localhost:3000/?code=';
export const DESKTOP_PATH = path.join(os.homedir(), 'Desktop');
export const ZX_FOLDER = isDevelopmentOrTest
? path.resolve(__dirname, '..', '..', 'node_modules', 'zx', 'zx.mjs')
: path.resolve(process.resourcesPath, 'node_modules', 'zx', 'zx.mjs');
? path.resolve(__dirname, '..', '..', 'node_modules', 'zx', 'build', 'cli.js')
: path.resolve(process.resourcesPath, 'node_modules', 'zx', 'build', 'cli.js');
export const LOCALIZATION_FOLDER = isDevelopmentOrTest
? path.resolve(sourcePath, '..', localizationFolderName)
: path.resolve(process.resourcesPath, localizationFolderName);
Expand Down

0 comments on commit 956a8c3

Please sign in to comment.