mirror of
https://github.com/HMCL-dev/HMCL.git
synced 2025-09-16 23:37:14 -04:00
Lower XZ preset
This commit is contained in:
parent
3d008dcab5
commit
79136db162
@ -140,7 +140,7 @@ task makePack(dependsOn: jar) {
|
|||||||
|
|
||||||
task makePackXz(dependsOn: makePack) doLast {
|
task makePackXz(dependsOn: makePack) doLast {
|
||||||
def packXz = new File(makePack.outputPath.parentFile, makePack.outputPath.name + ".xz")
|
def packXz = new File(makePack.outputPath.parentFile, makePack.outputPath.name + ".xz")
|
||||||
new XZOutputStream(packXz.newOutputStream(), new LZMA2Options(6)).withCloseable { it << makePack.outputPath.bytes }
|
new XZOutputStream(packXz.newOutputStream(), new LZMA2Options(5)).withCloseable { it << makePack.outputPath.bytes }
|
||||||
createChecksum(packXz)
|
createChecksum(packXz)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user