diff options
author | hannibal2 <24389977+hannibal002@users.noreply.github.com> | 2024-10-07 13:33:51 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-10-07 13:33:51 +0200 |
commit | f53fbddd604fd795780f16c25f57378c32d18763 (patch) | |
tree | 31e9f2f20f1b5b0c72c36892af49a89c08c5b784 /src/main/java/at/hannibal2/skyhanni/tweaker/DownloadSourceChecker.java | |
parent | 266d007da9f23b19f8e815da3005451195a33a5e (diff) | |
download | skyhanni-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.java | 4 |
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); |