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');
@@ -88,22 +88,19 @@
 ar e
-xe_suffix = %22%22
+lectronPath
 ;%0Aif
@@ -138,39 +138,8 @@
 %7B%0A  
-exe_suffix = '.cmd';%0A%7D%0Aexports.
 elec
@@ -224,57 +224,160 @@
 st',
-%0A                                    'electron.exe');
+ 'electron.exe');%0A%7D else %7B%0A  electronPath = path.resolve(__dirname, '..', '..', 'node_modules', '.bin', 'electron');%0A%7D%0Aexports.electronPath = electronPath;%0A

Fix windows-only test code