Open Marc-Demoustier opened 7 months ago
It is a bit more complicated than that in the end.
The current stade of the jar plugin contains all the dll
files inside of the jar files and if they are not in the jar
folder of Fiji it will copy them to this folder.
This introduce duplication which is not optimal for the plugin.
We can think of two ways of doing it:
.dll
and the .so
file inside and we just load them in the code from the jar file.win64
and linux
which will help to understand better the file architecture for a power user. Unfortunately, Fiji doesn't support detection of the OS when you download a plugin. If it was the case we wouldn't need to download all the .dll
files for Linux and MacOS, but it is what it is...https://imagej.net/develop/uploading-plugins
(We can even think of uploading the plugin directly from the CI but maybe this is too much automatization)
The plugin is not working correctly if an NVIDIA GPU is detected but the
.dll
are not present. We should be able to just send a warning and then run on the CPU.