public static Platform getCurrentPlatform() {
		String os = System.getProperty("os.name");
		if (os != null) {
			os = os.toLowerCase();
			if (os.contains("win")) {
				return Platform.WINDOWS;
			}
			if (os.contains("mac")) {
				return Platform.MACOS;
			}
		}
		return Platform.LINUX;
	}
Gets the current {@link Platform}.

@return The current {@link Platform}
GhidraBuild/LaunchSupport/src/main/java/ghidra/launch/JavaFinder.java