mirror of
https://github.com/packwiz/packwiz.git
synced 2025-04-19 21:16:30 +02:00
Update open command to use proper URL
This commit is contained in:
parent
5a48ddeb66
commit
640d4ac046
@ -52,7 +52,7 @@ var openCmd = &cobra.Command{
|
||||
}
|
||||
cfUpdateData := updateData.(cfUpdateData)
|
||||
fmt.Println("Opening browser...")
|
||||
url := "https://minecraft.curseforge.com/projects/" + strconv.Itoa(cfUpdateData.ProjectID)
|
||||
url := "https://www.curseforge.com/projects/" + strconv.Itoa(cfUpdateData.ProjectID)
|
||||
err = open.Start(url)
|
||||
if err != nil {
|
||||
fmt.Println("Opening page failed, direct link:")
|
||||
|
Loading…
x
Reference in New Issue
Block a user