const path = require('path');
exports.appPath = path.resolve(__dirname, '..', '..');

var exe_suffix = "";
if(process.platform === 'win32') {
  exe_suffix = '.cmd';
}
exports.electronPath = path.resolve(__dirname, '..', '..', 'node_modules', 'electron', 'dist',
                                    'electron.exe');
const path = require('path');
exports.appPath = path.resolve(__dirname, '..', '..');

var electronPath;
if(process.platform === 'win32') {
  electronPath = path.resolve(__dirname, '..', '..', 'node_modules', 'electron', 'dist', 'electron.exe');
} else {
  electronPath = path.resolve(__dirname, '..', '..', 'node_modules', '.bin', 'electron');
}
exports.electronPath = electronPath;

Fix windows-only test code