Skip to content

Commit b2e4348

Browse files
Always set installCerts if the certificates exist
1 parent 0976e33 commit b2e4348

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

main.go

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -226,6 +226,11 @@ func loop() {
226226
if runtime.GOOS == "darwin" {
227227
if exist, err := installCertsKeyExists(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(), "true")
231+
if err != nil {
232+
log.Panicf("config.ini cannot be parsed: %s", err)
233+
}
229234
} else if !exist {
230235
if cert.PromptInstallCertsSafari() {
231236
err = config.SetInstallCertsIni(configPath.String(), "true")

0 commit comments

Comments
 (0)