Finalize SourceForge provider install and update flows
This commit is contained in:
parent
eaa9a3b52d
commit
f260790d91
11 changed files with 718 additions and 65 deletions
|
|
@ -203,6 +203,12 @@ fn execute_update(
|
|||
}
|
||||
|
||||
fn update_query(app: &AppRecord) -> Option<String> {
|
||||
if let Some(source) = app.source.as_ref()
|
||||
&& source.kind == SourceKind::SourceForge
|
||||
{
|
||||
return Some(source.locator.clone());
|
||||
}
|
||||
|
||||
app.source_input.clone().or_else(|| {
|
||||
app.source.as_ref().map(|source| {
|
||||
source
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue