Fix quickinstall failing when packages are not wrapped in a folder

This commit is contained in:
Félix Saparelli 2022-02-16 22:42:37 +13:00
parent 49f3489398
commit b5d6d68d6d
4 changed files with 23 additions and 2 deletions

View file

@ -35,7 +35,7 @@ impl super::Fetcher for QuickInstall {
async fn fetch(&self, dst: &Path) -> Result<(), anyhow::Error> {
let url = self.package_url();
info!("Downloading package from: '{url}'");
download(&url, dst).await
download(&url, &dst).await
}
fn pkg_fmt(&self) -> PkgFmt {
@ -45,6 +45,7 @@ impl super::Fetcher for QuickInstall {
fn source_name(&self) -> String {
String::from("QuickInstall")
}
fn is_third_party(&self) -> bool {
true
}