Skip to content

Commit 059484b

Browse files
committed
忘记了
1 parent 9cc24c1 commit 059484b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -278,7 +278,7 @@ func main() {
278278
"https://bmclapi2.bangbang93.com/maven/net/minecraftforge/forge/%s-%s/forge-%s-%s-installer.jar",
279279
config.Version, config.LoaderVersion, config.Version, config.LoaderVersion,
280280
)
281-
installerPath := filepath.Join("./.autoinst/cache", fmt.Sprintf("forge-%s-installer.jar", config.LoaderVersion))
281+
installerPath := filepath.Join("./.autoinst/cache", fmt.Sprintf("forge-%s-%s-installer.jar", config.Version, config.LoaderVersion))
282282
fmt.Println("检测到 forge 加载器,正在从 BMCLAPI 下载:", installerURL)
283283
if err := downloadFile(installerURL, installerPath); err != nil {
284284
log.Println("下载 forge 失败:", err)

0 commit comments

Comments
 (0)