replaced .exe in app name on windows

pull/1856/head
antelle 2 years ago
parent 5caccbd1f5
commit b7333574aa
No known key found for this signature in database
GPG Key ID: 63C9777AAB7C563C

@ -75,7 +75,7 @@ function parseWmicOutput(output) {
result[mapped] = value | 0;
} else if (mapped === 'execPath') {
result[mapped] = value.replace(/^"([^"]+)"/g, '$1');
result.appName = value.split('\\').pop();
result.appName = value.split('\\').pop().replace(/\.exe/i, '');
}
}
}

Loading…
Cancel
Save