@Nullable
	private static Path getSystemConfigDir() {
		if (PlatformType.isWindows()) {
			return Paths.get(System.getenv("APPDATA"));
		} else if (PlatformType.isMac()) {
			// Mac-OS paths:
			//  https://developer.apple.com/library/archive/qa/qa1170/_index.html
			return Paths.get(System.getProperty("user.home") + "/Library/Application Support");
		} else if (PlatformType.isLinux()) {
			// $XDG_CONFIG_HOME or $HOME/.config
			String xdgConfigHome = System.getenv("XDG_CONFIG_HOME");
			if (xdgConfigHome != null)
				return Paths.get(xdgConfigHome);
			return Paths.get(System.getProperty("user.home") + "/.config");
		}
		return null;
	}
@return Root config directory for the current OS.
recaf-core/src/main/java/software/coley/recaf/services/file/RecafDirectoriesConfig.java