Document child process named "Electron" when building windows apps under non-Windows and without Wine (fix #1022)

This commit is contained in:
Ronan Jouchet 2020-08-10 21:37:45 -04:00
parent fd88d5199f
commit b8b5cd5bc4
1 changed files with 2 additions and 0 deletions

View File

@ -91,6 +91,8 @@ function trimUnprocessableOptions(options: AppOptions): void {
log.warn(
`*Not* setting [${optionsPresent.join(', ')}], as couldn't find Wine.`,
'Wine is required when packaging a Windows app under on non-Windows platforms.',
'Also, note that Windows apps built under non-Windows platforms without Wine *will lack* certain',
'features, like a correct icon and process name. Do yourself a favor and install Wine, please.',
);
for (const keyToUnset of optionsPresent) {
options[keyToUnset] = null;