aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/main/java/at/hannibal2/skyhanni/tweaker/DownloadSourceChecker.java20
1 files changed, 0 insertions, 20 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/tweaker/DownloadSourceChecker.java b/src/main/java/at/hannibal2/skyhanni/tweaker/DownloadSourceChecker.java
index 63a92849b..2c417909e 100644
--- a/src/main/java/at/hannibal2/skyhanni/tweaker/DownloadSourceChecker.java
+++ b/src/main/java/at/hannibal2/skyhanni/tweaker/DownloadSourceChecker.java
@@ -18,15 +18,6 @@ public class DownloadSourceChecker {
private static final String GITHUB_REPO = "511310721";
private static final String GITHUB_REPO_TEXT = "repo_id=" + GITHUB_REPO;
private static final String MODRINTH_URL = "/data/byNkmv5G/";
- private static final String THE_PASSWORD = "danger";
-
- private static final String[] PASSWORD_POPUP = {
- "If someone asks you to type in here,",
- "",
- "the likelihood of them ratting you is high!",
- "",
- "Enter the password:"
- };
private static final String[] SECURITY_POPUP = {
"The file you are trying to run is hosted on a non-trusted domain.",
@@ -78,17 +69,6 @@ public class DownloadSourceChecker {
JPanel buttons = new JPanel();
buttons.add(TweakerUtils.createButton(
- "Skip (Trusted Users Only)",
- () -> {
- String password = JOptionPane.showInputDialog(frame, String.join("\n", PASSWORD_POPUP));
- if (password != null && password.equals(THE_PASSWORD)) {
- close.set(false);
- frame.dispatchEvent(new WindowEvent(frame, WindowEvent.WINDOW_CLOSING));
- }
- }
- ));
-
- buttons.add(TweakerUtils.createButton(
"Close",
() -> {
close.set(true);