Skip to content

Commit fb555dc

Browse files
committed
TEMP enable upgrading
For current testing. Rewrite with 44459b1 if addressed before merging to mainline
1 parent d8f0d20 commit fb555dc

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

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

+1-2
Original file line numberDiff line numberDiff line change
@@ -82,8 +82,7 @@ public class ImageJUpdater implements UpdaterUI {
8282

8383
@Override
8484
public void run() {
85-
// NB: Disable migrator until its remaining FIXMEs are done.
86-
//new LauncherMigrator(context).checkLaunchStatus();
85+
new LauncherMigrator(context).checkLaunchStatus();
8786

8887
if (errorIfDebian()) return;
8988

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

+3-1
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,7 @@ private void migrateShortcuts() {
181181
* sufficient Java version, and if so, transitions it to the new core update site.
182182
*/
183183
private void migrateUpdateSite() {
184-
throw new UnsupportedOperationException("migrateUpdateSite unimplemented"); //FIXME
184+
// throw new UnsupportedOperationException("migrateUpdateSite unimplemented"); //FIXME
185185
}
186186

187187
/**
@@ -449,6 +449,8 @@ private static String probeJavaVersion(
449449
List<String> output;
450450
int exitCode;
451451
try {
452+
System.out.println("Exe file: " + exeFile.getPath());
453+
System.out.println("Class path: " + configDir.getPath());
452454
Process p = new ProcessBuilder(exeFile.getPath(),
453455
"-Djava.class.path=" + configDir.getPath(), "--main-class", "Props")
454456
.redirectErrorStream(true).start();

0 commit comments

Comments
 (0)