Skip to content

Commit b4f27f4

Browse files
Always set installCerts if the certificates exist
1 parent 3df7f31 commit b4f27f4

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

main.go

+5
Original file line numberDiff line numberDiff line change
@@ -226,6 +226,11 @@ func loop() {
226226
if runtime.GOOS == "darwin" {
227227
if value, err := valueIni(configPath.String()); err != nil {
228228
log.Panicf("config.ini cannot be parsed: %s", err)
229+
} else if config.CertsExist() {
230+
err = config.SetInstallCertsIni(configPath.String())
231+
if err != nil {
232+
log.Panicf("config.ini cannot be parsed: %s", err)
233+
}
229234
} else if !value && cert.PromptInstallCertsSafari() {
230235
err = config.SetInstallCertsIni(configPath.String())
231236
if err != nil {

0 commit comments

Comments
 (0)