We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8c30d63 commit 7b55fd6Copy full SHA for 7b55fd6
src/manifest.rs
@@ -109,6 +109,10 @@ impl Manifest {
109
let mut files = Vec::new();
110
111
for file in version.files {
112
+ if !file.primary {
113
+ continue;
114
+ }
115
+
116
files.push(mrpack::File {
117
path: path.join(&file.filename),
118
hashes: file.hashes,
src/modrinth.rs
@@ -26,6 +26,7 @@ pub struct File {
26
pub hashes: HashMap<String, String>,
27
pub url: String,
28
pub filename: String,
29
+ pub primary: bool,
30
pub size: u64,
31
}
32
0 commit comments