Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit e64e031

Browse files
committedMay 2, 2024·
Always set installCerts if the certificates exist
1 parent ed3bf91 commit e64e031

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)
Please sign in to comment.