i think it works okay

This commit is contained in:
simonkellet
2022-09-16 21:31:03 +01:00
parent 67dc1775b2
commit 449d7a1ff9
4 changed files with 34 additions and 5 deletions
+1 -1
View File
@@ -17,6 +17,7 @@ func TaskRun(c Config) {
for i := range c.Tasks {
title := c.Tasks[i].TaskName
interval := c.Tasks[i].Interval
asset := c.Tasks[i].Icon
var desc string
// check if desc is empty and use the cmd output, if not just get the desc
@@ -25,7 +26,6 @@ func TaskRun(c Config) {
} else {
desc = c.Tasks[i].TaskDesc
}
asset := c.Tasks[i].Icon
//run the commands with go func()!
wg.Add(1)