Cannot open icon file 'A'
pionl opened this issue · 1 comments
pionl commented
Hi,
I'm unable to alter icon in docker image
{
'icon': 'AppIcon.ico',
}
Using wine32 in docker image.
Probably related to electron/rcedit#56?
spawn wine [ '/builds/project-0/build/rcedit/bin/rcedit.exe',
'build/bin/x64/t.exe',
'--set-version-string',
'CompanyName',
'T, s.r.o.',
'--set-version-string',
'FileDescription',
'T agent',
'--set-version-string',
'LegalCopyright',
'Copyright 2018',
'--set-version-string',
'ProductName',
'T agent',
'--set-version-string',
'OriginalFilename',
't.exe',
'--set-icon',
'AppIcon.ico' ]
Error: rcedit.exe failed with exit code 1. wine: created the configuration directory '/root/.wine'
Application tried to create a window, but no driver could be loaded.
Make sure that your X server is running and that $DISPLAY is set correctly.
Application tried to create a window, but no driver could be loaded.
Make sure that your X server is running and that $DISPLAY is set correctly.
Application tried to create a window, but no driver could be loaded.
Make sure that your X server is running and that $DISPLAY is set correctly.
Application tried to create a window, but no driver could be loaded.
Make sure that your X server is running and that $DISPLAY is set correctly.
Application tried to create a window, but no driver could be loaded.
Make sure that your X server is running and that $DISPLAY is set correctly.
wine: configuration in '/root/.wine' has been updated.
Cannot open icon file 'A'
Fatal error: Unable to set icon
Also tried to pass 32bit exe
malept commented
The latest version should have a more complete error message (i.e., it should show the full path) but this is because it can't find your icon. Try using an absolute path instead.