Fix: 无法安装带有 Fabric 的非标准 MMC 整合包 (#4034)
- 修复无法安装带有 Fabric 的非标准 MMC 整合包的漏洞 - 在安装时写入当前安装器实现信息和启动器信息,以在后续调试时获得更多信息 Fix #4049
This commit is contained in:
@@ -32,3 +32,16 @@ dependencies {
|
||||
testImplementation(libs.jna.platform)
|
||||
testImplementation(libs.jimfs)
|
||||
}
|
||||
|
||||
tasks.processResources {
|
||||
listOf(
|
||||
"HMCLTransformerDiscoveryService",
|
||||
"HMCLMultiMCBootstrap"
|
||||
).map { project(":$it").tasks["jar"] as Jar }.forEach { task ->
|
||||
dependsOn(task)
|
||||
|
||||
into("assets/game") {
|
||||
from(task.outputs.files)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user