mirror of
https://github.com/TermoraDev/termora.git
synced 2026-01-16 02:12:58 +08:00
chore: win 7z
This commit is contained in:
4
.github/workflows/windows-x86-64.yml
vendored
4
.github/workflows/windows-x86-64.yml
vendored
@@ -16,6 +16,9 @@ jobs:
|
|||||||
Invoke-WebRequest -Uri "http://stahlworks.com/dev/zip.exe" -OutFile "$system32\zip.exe"
|
Invoke-WebRequest -Uri "http://stahlworks.com/dev/zip.exe" -OutFile "$system32\zip.exe"
|
||||||
Invoke-WebRequest -Uri "http://stahlworks.com/dev/unzip.exe" -OutFile "$system32\unzip.exe"
|
Invoke-WebRequest -Uri "http://stahlworks.com/dev/unzip.exe" -OutFile "$system32\unzip.exe"
|
||||||
|
|
||||||
|
- name: Install 7z
|
||||||
|
uses: milliewalky/setup-7-zip@v2
|
||||||
|
|
||||||
- name: Installing Java
|
- name: Installing Java
|
||||||
run: |
|
run: |
|
||||||
curl -s --output ${{ runner.temp }}\java_package.zip -L https://cache-redirector.jetbrains.com/intellij-jbr/jbrsdk-21.0.6-windows-x64-b895.91.zip
|
curl -s --output ${{ runner.temp }}\java_package.zip -L https://cache-redirector.jetbrains.com/intellij-jbr/jbrsdk-21.0.6-windows-x64-b895.91.zip
|
||||||
@@ -43,3 +46,4 @@ jobs:
|
|||||||
path: |
|
path: |
|
||||||
build/distributions/*.zip
|
build/distributions/*.zip
|
||||||
build/distributions/*.msi
|
build/distributions/*.msi
|
||||||
|
build/distributions/*.7z
|
||||||
|
|||||||
@@ -407,6 +407,16 @@ tasks.register("dist") {
|
|||||||
workingDir = layout.buildDirectory.dir("jpackage/images/win-msi.image/").get().asFile
|
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
|
// msi
|
||||||
exec {
|
exec {
|
||||||
commandLine(
|
commandLine(
|
||||||
|
|||||||
Reference in New Issue
Block a user