Skip to content

Commit

Permalink
fixing mod updates
Browse files Browse the repository at this point in the history
  • Loading branch information
KiameV committed Feb 8, 2024
1 parent 82a61d9 commit e6143c3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions actions/action.go
Original file line number Diff line number Diff line change
Expand Up @@ -76,15 +76,15 @@ var (
)

func init() {
extractUpdateMoveSteps = make([]steps.Step, len(uninstallMoveSteps)+len(extractInstallMoveSteps)-1)
extractUpdateMoveSteps = make([]steps.Step, 0, len(uninstallMoveSteps)+len(extractInstallMoveSteps)-1)
for i := 1; i < len(uninstallMoveSteps); i++ {
extractUpdateMoveSteps = append(extractUpdateMoveSteps, uninstallMoveSteps[i])
}
for _, s := range extractInstallMoveSteps {
extractUpdateMoveSteps = append(extractUpdateMoveSteps, s)
}

directUpdateMoveSteps = make([]steps.Step, len(uninstallMoveSteps)+len(directInstallMoveSteps)-1)
directUpdateMoveSteps = make([]steps.Step, 0, len(uninstallMoveSteps)+len(directInstallMoveSteps)-1)
for i := 1; i < len(uninstallMoveSteps); i++ {
directUpdateMoveSteps = append(directUpdateMoveSteps, uninstallMoveSteps[i])
}
Expand Down
2 changes: 1 addition & 1 deletion browser/update.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import (
)

const (
Version = "v1.2.0"
Version = "v1.2.1"

tagUrl = `https://api.github.com/repos/KiameV/ffprModManager/tags`
relUrl = `https://github.com/KiameV/ffprModManager/releases/%s`
Expand Down

0 comments on commit e6143c3

Please sign in to comment.