From 7bf26fed13d797b8571e6db81f268538cd477e36 Mon Sep 17 00:00:00 2001 From: ioedeveloper Date: Wed, 13 Nov 2024 11:04:10 +0000 Subject: [PATCH] Normalize win32 path --- apps/remixdesktop/src/plugins/circomElectronBasePlugin.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/remixdesktop/src/plugins/circomElectronBasePlugin.ts b/apps/remixdesktop/src/plugins/circomElectronBasePlugin.ts index 6c7b63a493..f15134eaab 100644 --- a/apps/remixdesktop/src/plugins/circomElectronBasePlugin.ts +++ b/apps/remixdesktop/src/plugins/circomElectronBasePlugin.ts @@ -62,7 +62,7 @@ class CircomElectronPluginClient extends ElectronBasePluginClient { } filePath = path.join(wd, filePath) const depPath = path.join(wd, '.deps/https/raw.githubusercontent.com/iden3/') - const outputDir = process.platform !== 'win32' ? path.join(extractParentFromKey(filePath), '.bin') : binDir + const outputDir = process.platform !== 'win32' ? path.normalize(extractParentFromKey(filePath) + '/' + '.bin') : binDir this.call('terminal' as any, 'logHtml', `Compiling ${filePath} with circom compiler (${version})`) return await circomCli.run(`${filePath} -l ${depPath} -o ${outputDir}`, version, options)