Skip to content

Commit

Permalink
bitcoind.Os: Remove Bisq 2 dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
alvasw committed Sep 20, 2024
1 parent 5d121d6 commit 5f17bb0
Showing 1 changed file with 0 additions and 12 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,18 +16,6 @@ public enum Os {
this.canonicalName = canonicalName;
}

public static bisq.common.platform.OS getOS() {
String osName = getOsName();
if (isLinux(osName)) {
return bisq.common.platform.OS.LINUX;
} else if (isMacOs(osName)) {
return bisq.common.platform.OS.MAC_OS;
} else if (isWindows(osName)) {
return bisq.common.platform.OS.WINDOWS;
}
throw new IllegalStateException("Running on unsupported OS: " + osName);
}

public static boolean isLinux() {
return isLinux(getOsName());
}
Expand Down

0 comments on commit 5f17bb0

Please sign in to comment.