|
|
|
@ -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') |
|
|
|
|