mirror of
https://github.com/safing/portmaster
synced 2025-09-01 18:19:12 +00:00
Disable force downloading when checking for updates
This commit is contained in:
parent
7fac37f7e3
commit
4d12f702a9
1 changed files with 2 additions and 2 deletions
|
@ -14,12 +14,12 @@ func registerAPIEndpoints() error {
|
|||
Write: api.PermitUser,
|
||||
BelongsTo: module,
|
||||
ActionFunc: func(_ *api.Request) (msg string, err error) {
|
||||
if err := TriggerUpdate(true); err != nil {
|
||||
if err := TriggerUpdate(false); err != nil {
|
||||
return "", err
|
||||
}
|
||||
return "triggered update check", nil
|
||||
},
|
||||
Name: "Check for Updates",
|
||||
Description: "Triggers checking for updates.",
|
||||
Description: "Checks if new versions are available and downloads and applies them, if automatic updates are enabled.",
|
||||
})
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue