Skip to content

Commit

Permalink
mods go in mods directory
Browse files Browse the repository at this point in the history
  • Loading branch information
heschlie committed Mar 13, 2020
1 parent ea11b97 commit 27c7238
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/download.go
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ func DownloadModRelease(release *models.Release) error {
path := viper.GetString("factorioPath")
url := fmt.Sprintf("https://mods.factorio.com%s?username=%s&token=%s", release.DownloadURL, user, token)

out, err := os.Create(filepath.Join(path, release.FileName))
out, err := os.Create(filepath.Join(path, "mods", release.FileName))
if err != nil {
return err
}
Expand Down

0 comments on commit 27c7238

Please sign in to comment.