Skip to content

Commit 4c3fc6e

Browse files
committed
Set scijava.app.directory property
So that fiji.cfg is written with a relative path.
1 parent a3e0a48 commit 4c3fc6e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/main/java/net/imagej/ui/swing/updater/LauncherMigrator.java

+1
Original file line numberDiff line numberDiff line change
@@ -328,6 +328,7 @@ private void switchToNewLauncher() {
328328
}
329329

330330
setPropertyIfNull("scijava.app.name", appTitle);
331+
setPropertyIfNull("scijava.app.directory", appDir.getPath());
331332

332333
Path splashImage = appDir.toPath().resolve("images").resolve("icon.png");
333334
setPropertyIfNull("scijava.app.splash-image", splashImage.toString());

0 commit comments

Comments
 (0)