Skip to content

Commit cf50699

Browse files
committed
Fix artifacts not matching during linux incremental update
1 parent aa08495 commit cf50699

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/install.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,7 @@ pub fn choose_artifact<A: Artifact>(artifacts: Vec<A>, instance_type: InstanceTy
170170
}
171171
}
172172
Err(anyhow!(
173-
"Couldn't match any asset against for {:#?}",
173+
"Couldn't match any asset against {:#?}",
174174
instance_type
175175
))
176176
}

src/instance.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ impl InstanceType {
2929
Self::MacOS => archive_name.contains("mac") || archive_name.ends_with(".dmg"),
3030
Self::Windows => archive_name.contains("win64"),
3131
Self::Linux => archive_name.ends_with(".tar.gz"),
32-
Self::AppImage => archive_name.ends_with(".AppImage"),
32+
Self::AppImage => archive_name.contains(".AppImage"),
3333
Self::Unknown => false,
3434
}
3535
}

0 commit comments

Comments
 (0)