diff --git a/fclauncher/Prism.go b/fclauncher/Prism.go index 2bfcd8c..60e62a2 100644 --- a/fclauncher/Prism.go +++ b/fclauncher/Prism.go @@ -131,7 +131,7 @@ func (p *Prism)InstallModpack(modpack Modpack){ json.Unmarshal(buff.Bytes(), &versions) version := versions[len(versions)-1] dname, _ := os.MkdirTemp("", "fclauncher-*") - f, _ := os.OpenFile(filepath.Join(dname, modpack.Name), os.O_CREATE|os.O_RDWR, 0755) + f, _ := os.OpenFile(filepath.Join(dname, modpack.Name+".mrpack"), os.O_CREATE|os.O_RDWR, 0755) defer f.Close() HttpDownload(modpack.Id + "/" + version.File, f, p.ctx)