Fixed macos prod path for input signals

circom-desktop
ioedeveloper 3 weeks ago
parent d076481566
commit 21028cff2f
  1. 1
      .gitignore
  2. 2
      apps/circuit-compiler/src/app/components/configurations.tsx
  3. 2
      apps/remixdesktop/src/tools/circom.ts

1
.gitignore vendored

@ -71,4 +71,5 @@ apps/remixdesktop/logs/
apps/remixdesktop/bin/
apps/remixdesktop/circom-download
apps/remixdesktop/log_input_signals.txt
apps/remixdesktop/log_input_signals_new.txt
logs

@ -52,7 +52,7 @@ export function Configurations ({primeValue, setPrimeValue, versionValue}: Confi
<option value="vesta">vesta</option>
</>
</RenderIf>
<RenderIf condition={versionValue === '2.1.8'}>
<RenderIf condition={versionValue === '2.1.8' || versionValue === 'latest'}>
<>
<option value="bn128">bn128</option>
<option value="bls12381">bls12381</option>

@ -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 process.env.NODE_ENV === 'production' ? path.join(app.getPath('temp'), 'log_input_signals.txt') : path.join(app.getAppPath(), 'log_input_signals.txt')
return 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')

Loading…
Cancel
Save