Skip to content

Commit

Permalink
删除 FractureiserDetector (#3313)
Browse files Browse the repository at this point in the history
  • Loading branch information
Glavo authored Oct 6, 2024
1 parent b624ceb commit d3e9511
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 66 deletions.
9 changes: 0 additions & 9 deletions HMCL/src/main/java/org/jackhuang/hmcl/Main.java
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@
import javafx.application.Platform;
import javafx.scene.control.Alert;
import org.jackhuang.hmcl.ui.AwtUtils;
import org.jackhuang.hmcl.util.FractureiserDetector;
import org.jackhuang.hmcl.util.SelfDependencyPatcher;
import org.jackhuang.hmcl.ui.SwingUtils;
import org.jackhuang.hmcl.java.JavaRuntime;
Expand Down Expand Up @@ -70,7 +69,6 @@ public static void main(String[] args) {

checkJavaFX();
verifyJavaFX();
detectFractureiser();

Launcher.main(args);
}
Expand All @@ -94,13 +92,6 @@ private static void checkDirectoryPath() {
}
}

private static void detectFractureiser() {
if (FractureiserDetector.detect()) {
LOG.error("Detected that this computer is infected by fractureiser");
showErrorAndExit(i18n("fatal.fractureiser"));
}
}

private static void checkJavaFX() {
try {
SelfDependencyPatcher.patch();
Expand Down

This file was deleted.

0 comments on commit d3e9511

Please sign in to comment.