mirror of
https://github.com/packwiz/packwiz.git
synced 2025-04-19 13:06: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)
|
cfUpdateData := updateData.(cfUpdateData)
|
||||||
fmt.Println("Opening browser...")
|
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)
|
err = open.Start(url)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
fmt.Println("Opening page failed, direct link:")
|
fmt.Println("Opening page failed, direct link:")
|
||||||
|
Loading…
x
Reference in New Issue
Block a user