You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: main.go
+3-3
Original file line number
Diff line number
Diff line change
@@ -178,7 +178,7 @@ func loop() {
178
178
// If we are updating manually from 1.2.7 to 1.3.0 we have to uninstall the old agent manually first.
179
179
// This check will inform the user if he needs to run the uninstall first
180
180
ifruntime.GOOS=="darwin"&&oldInstallExists() {
181
-
utilities.UserPrompt("Old agent installation of the Arduino Create Agent found, please uninstall it before launching the new one", "\"OK\"", "OK", "Error")
181
+
utilities.UserPrompt("Old agent installation of the Arduino Create Agent found, please uninstall it before launching the new one", "\"OK\"", "OK", "OK", "Error")
182
182
os.Exit(0)
183
183
}
184
184
@@ -378,7 +378,7 @@ func loop() {
378
378
ifexpired, err:=cert.IsExpired(); err!=nil {
379
379
log.Errorf("cannot check if certificates are expired something went wrong: %s", err)
380
380
} elseifexpired {
381
-
buttonPressed:=utilities.UserPrompt("The Arduino Agent needs a local HTTPS certificate to work correctly with Safari.\nYour certificate is expired or close to expiration. Do you want to update it?", "{\"Do not update\", \"Update the certificate for Safari\"}", "Update the certificate for Safari", "Arduino Agent: Update certificate")
381
+
buttonPressed:=utilities.UserPrompt("The Arduino Agent needs a local HTTPS certificate to work correctly with Safari.\nYour certificate is expired or close to expiration. Do you want to update it?", "{\"Do not update\", \"Update the certificate for Safari\"}", "Update the certificate for Safari", "Update the certificate for Safari", "Arduino Agent: Update certificate")
returnutilities.UserPrompt("The Arduino Agent needs a local HTTPS certificate to work correctly with Safari.\nIf you use Safari, you need to install it.", "{\"Do not install\", \"Install the certificate for Safari\"}", "Install the certificate for Safari", "Arduino Agent: Install certificate")
558
+
returnutilities.UserPrompt("The Arduino Agent needs a local HTTPS certificate to work correctly with Safari.\nIf you use Safari, you need to install it.", "{\"Do not install\", \"Install the certificate for Safari\"}", "Install the certificate for Safari", "Install the certificate for Safari", "Arduino Agent: Install certificate")
0 commit comments