Skip to content

Commit

Permalink
Revert changes for macos
Browse files Browse the repository at this point in the history
  • Loading branch information
ioedeveloper committed Nov 1, 2024
1 parent 0684d2f commit 60fa079
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions apps/remixdesktop/src/tools/circom.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ export function getInstallationPath(version) {
return process.env.NODE_ENV === 'production' ? path.join(app.getPath('temp'), 'circom-download', version, 'circom-windows-amd64.exe') : path.join(app.getAppPath(), 'circom-download', version, 'circom-windows-amd64.exe')

case 'darwin':
return path.join(app.getAppPath(), 'circom-download', version, 'circom-macos-amd64')
return process.env.NODE_ENV === 'production' ? path.join(app.getPath('temp'), 'circom-download', version, 'circom-macos-amd64') : path.join(app.getAppPath(), 'circom-download', version, 'circom-macos-amd64')

case 'linux':
return process.env.NODE_ENV === 'production' ? path.join(app.getPath('temp'), 'circom-download', version, 'circom-linux-amd64') : path.join(app.getAppPath(), 'circom-download', version, 'circom-linux-amd64')
Expand All @@ -64,7 +64,7 @@ export function getLogInputSignalsPath() {
return process.env.NODE_ENV === 'production' ? path.join(app.getPath('temp'), 'log_input_signals.txt') : path.join(app.getAppPath(), 'log_input_signals.txt')

case 'darwin':
return path.join(app.getAppPath(), 'log_input_signals.txt')
return process.env.NODE_ENV === 'production' ? path.join(app.getPath('temp'), 'log_input_signals.txt') : path.join(app.getAppPath(), 'log_input_signals.txt')

case 'linux':
return process.env.NODE_ENV === 'production' ? path.join(app.getPath('temp'), 'log_input_signals.txt') : path.join(app.getAppPath(), 'log_input_signals.txt')
Expand Down

0 comments on commit 60fa079

Please sign in to comment.