Skip to content

Commit 0ce9a15

Browse files
committed
update manifest url to ornithe's
1 parent 02d878e commit 0ce9a15

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/net/manifest.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ use crate::errors::InstallerError;
66

77
use super::GameSide;
88

9-
const LAUNCHER_META_URL: &str = "https://skyrising.github.io/mc-versions/version_manifest.json";
10-
const VERSION_META_URL: &str = "https://skyrising.github.io/mc-versions/version/manifest/{}.json";
9+
const LAUNCHER_META_URL: &str = "https://ornithemc.net/mc-versions/version_manifest.json";
10+
const VERSION_META_URL: &str = "https://ornithemc.net/mc-versions/version/manifest/{}.json";
1111

1212
pub async fn fetch_versions() -> Result<VersionManifest, InstallerError> {
1313
super::CLIENT

src/ui/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ fn server_dir(default: &str) -> String {
7777
.to_owned()
7878
}
7979

80-
#[cfg(any(unix, target_os = "macos"))]
80+
#[cfg(any(unix))]
8181
pub fn server_location() -> String {
8282
server_dir("/")
8383
}

0 commit comments

Comments
 (0)