imagej / imagej-updater

The automatic updater for ImageJ
Other
12 stars 15 forks source link

Also scan ijm files in ./scripts directory #60

Closed imagejan closed 7 years ago

imagejan commented 7 years ago

Currently, the updater doesn't pick up .ijm files in ./ImageJ.app/scripts, but they are being shown in the menu (i.e. discovered by org.scijava.script.ScriptFinder ?!).

To make the behavior consistent, I suggest to either:

I tend to favor the first option as the least surprising one. If that's alright, I can make the change, submit a PR and test it.

ctrueden commented 7 years ago

Thanks @imagejan. The change was so easy, I just went ahead and did it.

ctrueden commented 7 years ago

I favor use of scripts/ as better (more intuitive, less confusing) than the old plugins/Scripts/ folder for scripts (including ImageJ macros). But all the existing scripts shipped with Fiji have not yet moved over. I can't think of a good reason not to simply move them all... except maybe that we should start wrapping them up into individual JAR files with proper metadata in POMs, similar to what we did with https://github.com/fiji/Correct_3D_Drift.