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 @@ -223,7 +223,7 @@ func loop() {
223
223
224
224
// if the default browser is Safari, prompt the user to install HTTPS certificates
225
225
// and eventually install them
226
- if runtime .GOOS == "darwin" && cert . GetDefaultBrowserName () == "Safari" {
226
+ if runtime .GOOS == "darwin" {
227
227
if exist , err := installCertsKeyExists (configPath .String ()); err != nil {
228
228
log .Panicf ("config.ini cannot be parsed: %s" , err )
229
229
} else if ! exist {
@@ -232,7 +232,7 @@ func loop() {
232
232
if err != nil {
233
233
log .Panicf ("config.ini cannot be parsed: %s" , err )
234
234
}
235
- } else if cert .PromptInstallCertsSafari () {
235
+ } else if cert .GetDefaultBrowserName () == "Safari" && cert . PromptInstallCertsSafari () {
236
236
err = config .SetInstallCertsIni (configPath .String (), "true" )
237
237
if err != nil {
238
238
log .Panicf ("config.ini cannot be parsed: %s" , err )
You can’t perform that action at this time.
0 commit comments