Improve notifications

This commit is contained in:
Daniel
2021-05-05 13:01:40 +02:00
parent 723809563c
commit 94756d9f38
4 changed files with 35 additions and 16 deletions

View File

@@ -282,7 +282,7 @@ func checkForUpdates(ctx context.Context) (err error) {
"The Portmaster failed to check for updates. This might be a temporary issue of your device, your network or the update servers. The Portmaster will automatically try again later.",
notifications.Action{
ID: "retry",
Text: "Try Again",
Text: "Try Again Now",
Type: notifications.ActionTypeWebhook,
Payload: &notifications.ActionTypeWebhookPayload{
URL: apiPathCheckForUpdates,

View File

@@ -253,7 +253,7 @@ func warnOnIncorrectParentPath() {
"updates:unsupported-parent",
"Unsupported Launcher",
fmt.Sprintf(
"The portmaster has been launched by an unexpected %s binary at %s. Please configure your system to use the binary at %s as this version will be kept up to date automatically.",
"The Portmaster has been launched by an unexpected %s binary at %s. Please configure your system to use the binary at %s as this version will be kept up to date automatically.",
expectedFileName,
absPath,
filepath.Join(root, expectedFileName),