Skip to content

Commit

Permalink
fix command running in core setup on windows
Browse files Browse the repository at this point in the history
  • Loading branch information
kkoreilly committed Jul 23, 2024
1 parent b96acb6 commit f167d98
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions cmd/core/cmd/setup.go
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,11 @@ func Setup(c *config.Config) error { //types:add
if err != nil {
return err
}
err = vc.Run("tdm64-gcc-10.3.0-2.exe")
path, err := filepath.Abs("tdm64-gcc-10.3.0-2.exe")
if err != nil {
return err
}
err = vc.Run(path)
if err != nil {
return err
}
Expand All @@ -81,7 +85,11 @@ func Setup(c *config.Config) error { //types:add
if err != nil {
return err
}
err = vc.Run("Git-2.45.2-64-bit.exe")
path, err := filepath.Abs("Git-2.45.2-64-bit.exe")
if err != nil {
return err
}
err = vc.Run(path)
if err != nil {
return err
}
Expand Down

0 comments on commit f167d98

Please sign in to comment.