File tree 1 file changed +2
-2
lines changed
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -108,14 +108,14 @@ func (s *Systray) start() {
108
108
infoMsg = infoMsg + "- Certificate installed: No\n - Certificate trusted: N/A\n - Certificate expiration date: N/A"
109
109
}
110
110
pressedButton := utilities .UserPrompt ("display dialog \" " + infoMsg + "\" buttons " + buttons + " with title \" Arduino Agent: Manage HTTPS certificate\" " )
111
- if strings .Contains (pressedButton , "Install certificate for Safari" ) {
111
+ if strings .Contains (pressedButton , "Install the certificate for Safari" ) {
112
112
cert .GenerateAndInstallCertificates (certDir )
113
113
err := config .SetInstallCertsIni (s .currentConfigFilePath .String (), "true" )
114
114
if err != nil {
115
115
log .Errorf ("cannot set installCerts value in config.ini: %s" , err )
116
116
}
117
117
s .Restart ()
118
- } else if strings .Contains (pressedButton , "Uninstall certificate for Safari" ) {
118
+ } else if strings .Contains (pressedButton , "Uninstall the certificate for Safari" ) {
119
119
err := cert .UninstallCertificates ()
120
120
if err != nil {
121
121
log .Errorf ("cannot uninstall certificates something went wrong: %s" , err )
You can’t perform that action at this time.
0 commit comments