Skip to content

Commit

Permalink
Set scijava.app.directory property
Browse files Browse the repository at this point in the history
So that fiji.cfg is written with a relative path.
  • Loading branch information
ctrueden committed Nov 21, 2024
1 parent a3e0a48 commit 4c3fc6e
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -328,6 +328,7 @@ private void switchToNewLauncher() {
}

setPropertyIfNull("scijava.app.name", appTitle);
setPropertyIfNull("scijava.app.directory", appDir.getPath());

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

0 comments on commit 4c3fc6e

Please sign in to comment.