From a4643325aec96be64e8cc33492a2eacdd5ef9892 Mon Sep 17 00:00:00 2001 From: ioedeveloper Date: Fri, 8 Nov 2024 06:28:43 +0000 Subject: [PATCH] revert last changes --- apps/remixdesktop/src/tools/circom.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/remixdesktop/src/tools/circom.ts b/apps/remixdesktop/src/tools/circom.ts index a8f63c8d43..4c99bd9fa2 100644 --- a/apps/remixdesktop/src/tools/circom.ts +++ b/apps/remixdesktop/src/tools/circom.ts @@ -61,7 +61,7 @@ export function getInstallationUrl(version) { export function getLogInputSignalsPath() { switch (process.platform) { case 'win32': - 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 'darwin': return path.join(app.getAppPath(), 'log_input_signals.txt')