We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5ee33e2 commit a23dbeeCopy full SHA for a23dbee
download.go
@@ -110,8 +110,10 @@ func spDownloadTool(name string, url string) {
110
log.Info("Tool already present, skipping download")
111
}
112
113
- // will be something like ${tempfolder}/avrdude/bin/avrdude
114
- globalToolsMap["{runtime.tools."+name+".path}"] = filepath.ToSlash(tempToolsPath + "/" + name)
+ folders, _ := ioutil.ReadDir(tempToolsPath)
+ for _, f := range folders {
115
+ globalToolsMap["{runtime.tools."+f.Name()+".path}"] = filepath.ToSlash(tempToolsPath + "/" + f.Name())
116
+ }
117
118
log.Info("Map Updated")
119
mapD := map[string]string{"DownloadStatus": "Success", "Msg": "Map Updated"}
0 commit comments