Log app paths for production build debugging

circom-desktop
ioedeveloper 2 weeks ago
parent a4643325ae
commit 9b985fa2ce
  1. 5
      apps/remixdesktop/src/tools/circom.ts

@ -59,6 +59,11 @@ export function getInstallationUrl(version) {
} }
export function getLogInputSignalsPath() { export function getLogInputSignalsPath() {
console.log('home: ', app.getPath('home'))
console.log('appData: ', app.getPath('appData'))
console.log('userData: ', app.getPath('userData'))
console.log('temp: ', app.getPath('temp'))
console.log('exe: ', app.getPath('exe'))
switch (process.platform) { switch (process.platform) {
case 'win32': case 'win32':
return process.env.NODE_ENV === 'production' ? path.join(app.getPath('temp'), 'log_input_signals.txt') : 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')

Loading…
Cancel
Save