diff --git a/.scalafmt.conf b/.scalafmt.conf index 21d6466..12f6d23 100644 --- a/.scalafmt.conf +++ b/.scalafmt.conf @@ -1,4 +1,4 @@ -version = 3.7.12 +version = 3.8.3 runner.dialect = scala3 diff --git a/ReadMe.md b/ReadMe.md index 4f25ffb..a146012 100644 --- a/ReadMe.md +++ b/ReadMe.md @@ -130,6 +130,20 @@ Copy `ImageJ-macosx` to the `Contents/MacOS` folder, replacing `ImageJ-macosx` t At this point you can move the `Fiji.app` folder to the Applications folder and use is as a regular msOS application. +**9. Troubleshooting** + +When you attempt to run Fiji with the new Launcher you may get a warning dialog +![macOS_warning_dialog_01.png](assets%2FmacOS_warning_dialog_01.png) + +Possible work-around + +1. Delete `Fuji.app` folder +2. Uncompressed `fiji-nojre.zip` to recreate `Fuji.app` folder, but do not make any changes to it yet. You may need to do it is different folder than before. +3. Control-clock on `Fuji.app` and select "Open". You will see dialog saying + "macOS cannot verify the developer of “Fiji”. Are you sure you want to open it?" +4. Click on "Open". You will see Fiji logo, but the application will close since it is not setup yet +5. Now you can repeat steps "3. Create place for Java (JRE)" to "7. Add to Fiji.app" above + If you have problems installing, please report in [Discussions] or [Image.sc Forum] ### Installing Fiji on Windows x64 diff --git a/assets/macOS_warning_dialog_01.png b/assets/macOS_warning_dialog_01.png new file mode 100644 index 0000000..a5f3051 Binary files /dev/null and b/assets/macOS_warning_dialog_01.png differ diff --git a/build.sbt b/build.sbt index d53f0bd..e6be4c6 100644 --- a/build.sbt +++ b/build.sbt @@ -1,6 +1,6 @@ -scalaVersion := "3.3.0" +scalaVersion := "3.3.3" //name := "IJP-ImageJ-Launcher" -version := "0.2.0" +version := "0.2.0.1-SNAPSHOT" versionScheme := Some("early-semver") organization := "net.sf.ij-plugins" homepage := Some(new URI("https://github.com/ij-plugins/ijp-imagej-launcher").toURL) @@ -17,8 +17,8 @@ logLevel := Level.Info libraryDependencies ++= Seq( "com.github.scopt" %%% "scopt" % "4.1.0", - "com.lihaoyi" %%% "os-lib" % "0.9.1", - "org.scalatest" %%% "scalatest" % "3.2.16" % Test + "com.lihaoyi" %%% "os-lib" % "0.9.3", + "org.scalatest" %%% "scalatest" % "3.2.18" % Test ) scalacOptions ++= Seq( diff --git a/project/build.properties b/project/build.properties index 4eb6541..7a2a0c9 100644 --- a/project/build.properties +++ b/project/build.properties @@ -3,4 +3,4 @@ # Author's e-mail: jpsacha at gmail.com # -sbt.version = 1.9.3 +sbt.version = 1.10.2 diff --git a/project/buildinfo.sbt b/project/buildinfo.sbt index b9ae828..dab5b61 100644 --- a/project/buildinfo.sbt +++ b/project/buildinfo.sbt @@ -1,2 +1,2 @@ // https://github.com/sbt/sbt-buildinfo -addSbtPlugin("com.eed3si9n" % "sbt-buildinfo" % "0.11.0") \ No newline at end of file +addSbtPlugin("com.eed3si9n" % "sbt-buildinfo" % "0.12.0") \ No newline at end of file diff --git a/project/plugins.sbt b/project/plugins.sbt index eb2c08d..6264039 100644 --- a/project/plugins.sbt +++ b/project/plugins.sbt @@ -1,2 +1,3 @@ // https://github.com/scala-native/scala-native -addSbtPlugin("org.scala-native" % "sbt-scala-native" % "0.4.14") +resolvers ++= Resolver.sonatypeOssRepos("snapshots") +addSbtPlugin("org.scala-native" % "sbt-scala-native" % "0.4.17")