Closed peerem closed 3 years ago
Hi @peerem ,
did you try the Chromely.Integration.TestApp ?
Be sure the icon is added as content (copy always) - not as embedded-resource.
As you can see below - the icon is there.
Under Windows all run fine, but under Linux I see only an "X" symbol.
This is the configuration:
config.WindowOptions.RelativePathToIconFile = "peerem.ico";
And this the files in the folder:
cef_100_percent.pak cef_200_percent.pak cef_extensions.pak cef.pak chrome-sandbox data devtools_resources.pak ffmpeg icudtl.dat libcef.so libEGL.so libe_sqlcipher.so libGLESv2.so locales Logs PeerEmDesktop peerem.ico snapshot_blob.bin swiftshader v8_context_snapshot.bin wwwroot
Can you please add a screen shot; And have you tried a PNG icon? Maybe the file is invalid for Linux.
It works with the PNG. I changed my configuration because Windows needs the ICO.
config.WindowOptions.RelativePathToIconFile = $"peerem.{(RuntimeInformation.IsOSPlatform(OSPlatform.Linux) ? "png" : "ico")}";
Fine - this behaviour should be documented.
Hello.
The app icon is not showing on Linux. On Windows all works fine. The icon is definitely in the right place.