Closed 0x07C0 closed 1 year ago
Might be a linux-only issue. Is linux still being supported?
@0x07C0 it's a Linux issue, I created a Linux build a few versions ago but haven't done so recently. This is due to the Sharp image library package that was crashing the renderer process on Linux. The package isn't included if the program is runnning on Linux (dataaccess.js line 32). Since later versions rely heavily on Sharp this should be fixed.
There have been a few sharp realeses and Electron releases so maybe it works if the condition is removed
Removing the condition does fix the issue, but require the deletion of old library_data.json
in ~/.config/Dungeoneer/data/maptool_libraries/Default/
I don't know about any bugs this will create, but sharp package does work on linux without breaking any features.
Nice. It shouldn't create any bugs. The issue was that the map tool window did not open, it showed only a white screen without even devtools available.
Does that mean that the restriction on dataaccess.js#L359 is also redundant?
Yes it's not needed
Describe the bug Client is unable to find map thumbnails when listing available maps.
Expected behavior Thumbnail is loaded and displays
map
orforegroundBase64
extracted from.dungeoneer_map
json file.Screenshots
Additional context Console output:
for every map available.
~/.config/Dungeoneer/data/maptool_libraries/Default/thumbnails/
exists, but is empty.