From f53fbddd604fd795780f16c25f57378c32d18763 Mon Sep 17 00:00:00 2001 From: hannibal2 <24389977+hannibal002@users.noreply.github.com> Date: Mon, 7 Oct 2024 13:33:51 +0200 Subject: Backend: More /shdebug (#2691) Co-authored-by: hannibal2 <24389977+hannibal00212@users.noreply.github.com> Co-authored-by: CalMWolfs <94038482+CalMWolfs@users.noreply.github.com> --- .../java/at/hannibal2/skyhanni/tweaker/DownloadSourceChecker.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/main/java/at/hannibal2/skyhanni/tweaker/DownloadSourceChecker.java') 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); -- cgit