Since the change in #243, flags in Windows and Linux are not shown anymore.
This is due to the render of icon that is not supported in these platforms. There is already a check to determine if the platform is Web to render the .png. I added some additionnal check on Platform Linux and Windows to render pgn too.
This was tested in Linux and Windows. On MacOs, icon are correctly render so no need to switch to png.
In order to run it, I also enabled desktop OS project in the example. It created automatically a bunch of files, so it can be removed it if you prefer.
Since the change in #243, flags in Windows and Linux are not shown anymore.
This is due to the render of icon that is not supported in these platforms. There is already a check to determine if the platform is Web to render the .png. I added some additionnal check on Platform Linux and Windows to render pgn too.
This was tested in Linux and Windows. On MacOs, icon are correctly render so no need to switch to png.
In order to run it, I also enabled desktop OS project in the example. It created automatically a bunch of files, so it can be removed it if you prefer.
Close #357