Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Modpack support #60

Merged
merged 10 commits into from
Apr 6, 2023
Merged

Modpack support #60

merged 10 commits into from
Apr 6, 2023

Conversation

Geometrically
Copy link
Member

@Geometrically Geometrically commented Apr 1, 2023

Fixes MOD-314
Fixes MOD-315
Fixes MOD-324

theseus/src/launcher/download.rs Show resolved Hide resolved
theseus/src/launcher/download.rs Show resolved Hide resolved
theseus/src/api/modpacks.rs Outdated Show resolved Hide resolved
theseus/src/api/modpacks.rs Outdated Show resolved Hide resolved
theseus/src/api/modpacks.rs Outdated Show resolved Hide resolved
theseus/src/api/modpacks.rs Outdated Show resolved Hide resolved
theseus/src/api/profile.rs Outdated Show resolved Hide resolved
theseus/src/api/profile.rs Outdated Show resolved Hide resolved
theseus/src/api/profile.rs Outdated Show resolved Hide resolved
* async impl

* working

* fmt and redundancy

* moved ? to if let Ok block
theseus/src/api/profile.rs Outdated Show resolved Hide resolved
@@ -14,7 +14,7 @@ pub static REQWEST_CLIENT: Lazy<reqwest::Client> = Lazy::new(|| {
reqwest::Client::builder()
.tcp_keepalive(Some(time::Duration::from_secs(10)))
.build()
.unwrap()
.expect("Reqwest Client Building Failed")
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We should add a UserAgent here (as per. labrinth specification), probably, if we plan to make fetches to the MODRINTH_API_URL. Don't want our own API to block us, lol

@Geometrically Geometrically merged commit b9a3a6d into master Apr 6, 2023
@Geometrically Geometrically deleted the modpacks branch April 6, 2023 02:04
Geometrically added a commit that referenced this pull request Jul 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants