aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/at/hannibal2/skyhanni/tweaker/DownloadSourceChecker.java
diff options
context:
space:
mode:
authorhannibal2 <24389977+hannibal002@users.noreply.github.com>2024-10-07 13:33:51 +0200
committerGitHub <noreply@github.com>2024-10-07 13:33:51 +0200
commitf53fbddd604fd795780f16c25f57378c32d18763 (patch)
tree31e9f2f20f1b5b0c72c36892af49a89c08c5b784 /src/main/java/at/hannibal2/skyhanni/tweaker/DownloadSourceChecker.java
parent266d007da9f23b19f8e815da3005451195a33a5e (diff)
downloadskyhanni-f53fbddd604fd795780f16c25f57378c32d18763.tar.gz
skyhanni-f53fbddd604fd795780f16c25f57378c32d18763.tar.bz2
skyhanni-f53fbddd604fd795780f16c25f57378c32d18763.zip
Backend: More /shdebug (#2691)
Co-authored-by: hannibal2 <24389977+hannibal00212@users.noreply.github.com> Co-authored-by: CalMWolfs <94038482+CalMWolfs@users.noreply.github.com>
Diffstat (limited to 'src/main/java/at/hannibal2/skyhanni/tweaker/DownloadSourceChecker.java')
-rw-r--r--src/main/java/at/hannibal2/skyhanni/tweaker/DownloadSourceChecker.java4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/tweaker/DownloadSourceChecker.java b/src/main/java/at/hannibal2/skyhanni/tweaker/DownloadSourceChecker.java
index 2c417909e..7947b6ebc 100644
--- a/src/main/java/at/hannibal2/skyhanni/tweaker/DownloadSourceChecker.java
+++ b/src/main/java/at/hannibal2/skyhanni/tweaker/DownloadSourceChecker.java
@@ -1,5 +1,7 @@
package at.hannibal2.skyhanni.tweaker;
+import at.hannibal2.skyhanni.utils.OSUtils;
+
import javax.swing.JFrame;
import javax.swing.JOptionPane;
import javax.swing.JPanel;
@@ -32,7 +34,7 @@ public class DownloadSourceChecker {
};
public static void init() {
- if (!TweakerUtils.isOnWindows()) return;
+ if (!OSUtils.INSTANCE.isWindows()) return;
URI host = getDangerousHost();
if (host != null) {
openMenu(host);