Closed ctrueden closed 10 years ago
Does this also work when --main-class
is specified? Or when a .bsh
script is the first parameter? The original intention of --dont-patch-ij1
was to be able to run scripts with unpatched ImageJ 1.x versions...
Yes, when --main-class
is specified then the specified main class is used. My patch only sets the main class when none was set explicitly.
It also works with a .bsh
as the first parameter in my quick test just now.
Thanks!
When using the
--dont-patch-ij1
flag, Fiji and ImageJ2 modes cannot work. So, in the absence of any explicitly specified main class, let's runij.ImageJ
by default when that flag is given.