feat(yay): skip confirmed confirms (#2107)

* skip pacman confirmations when yay confirmations are done

* default to double confirm

* fix tests
This commit is contained in:
Jo authored and GitHub committed 2023-04-11 11:51:39 +00:00
1 parent c7a51a1614
commit 88008e4eb3
7 files changed
+47 -25

No files matched your search

+2
View File
@@ -73,6 +73,7 @@ type Configuration struct {
NewInstallEngine bool `json:"newinstallengine"`
Debug bool `json:"debug"`
UseRPC bool `json:"rpc"`
DoubleConfirm bool `json:"doubleconfirm"` // confirm install before and after build
CompletionPath string `json:"-"`
VCSFilePath string `json:"-"`
@@ -239,6 +240,7 @@ func DefaultConfig(version string) *Configuration {
Version: version,
Debug: false,
UseRPC: true,
DoubleConfirm: true,
Runtime: &Runtime{
Logger: text.GlobalLogger,
},