mirror of
https://github.com/TermoraDev/termora.git
synced 2026-01-15 18:02:58 +08:00
chore: win 7z
This commit is contained in:
@@ -407,6 +407,16 @@ tasks.register("dist") {
|
||||
workingDir = layout.buildDirectory.dir("jpackage/images/win-msi.image/").get().asFile
|
||||
}
|
||||
|
||||
// 7z
|
||||
exec {
|
||||
commandLine(
|
||||
"7z", "a", "-mx=9", "-m0=lzma2", "-mmt=on", "-bso0",
|
||||
distributionDir.file("${finalFilenameWithoutExtension}.7z").asFile.absolutePath,
|
||||
project.name.uppercaseFirstChar()
|
||||
)
|
||||
workingDir = layout.buildDirectory.dir("jpackage/images/win-msi.image/").get().asFile
|
||||
}
|
||||
|
||||
// msi
|
||||
exec {
|
||||
commandLine(
|
||||
|
||||
Reference in New Issue
Block a user