diff --git a/.idea/runConfigurations.xml b/.idea/runConfigurations.xml deleted file mode 100644 index 797acea5..00000000 --- a/.idea/runConfigurations.xml +++ /dev/null @@ -1,10 +0,0 @@ - - - - - - \ No newline at end of file diff --git a/src/validate/pack.rs b/src/validate/pack.rs index ee421d4a..34040847 100644 --- a/src/validate/pack.rs +++ b/src/validate/pack.rs @@ -106,7 +106,7 @@ pub struct PackValidator; impl super::Validator for PackValidator { fn get_file_extensions(&self) -> &[&str] { - &["zip"] + &["mrpack"] } fn get_project_types(&self) -> &[&str] { @@ -126,7 +126,7 @@ impl super::Validator for PackValidator { archive: &mut ZipArchive>, ) -> Result { let mut file = archive - .by_name("index.json") + .by_name("modrinth.index.json") .map_err(|_| ValidationError::InvalidInputError("Pack manifest is missing.".into()))?; let mut contents = String::new();