refactor: 默认不开启进度条

This commit is contained in:
ZacharyZcR
2025-01-15 15:10:01 +08:00
parent 97e9ac7161
commit f20aadb745
4 changed files with 45 additions and 25 deletions
+1 -1
View File
@@ -285,7 +285,7 @@ func executeScans(targets []Common.HostInfo, ch *chan struct{}, wg *sync.WaitGro
Common.LogInfo(fmt.Sprintf("加载的插件: %s", strings.Join(finalPlugins, ", ")))
// 初始化进度条
if !Common.NoProgress {
if Common.ShowProgress {
Common.ProgressBar = progressbar.NewOptions(actualTasks,
progressbar.OptionEnableColorCodes(true),
progressbar.OptionShowCount(),