Skip to content

Commit 7ae6bd7

Browse files
authored
fix(build): set *nix executable permissions on start scripts (PR #2838)
1 parent 57fd9b5 commit 7ae6bd7

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

build.gradle.kts

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -126,6 +126,13 @@ val pack by tasks.registering(Zip::class) {
126126
from(copyArtifacts)
127127
archiveFileName.set("jadx-$jadxVersion.zip")
128128
destinationDirectory.set(layout.buildDirectory)
129+
eachFile {
130+
if (path == "bin/jadx" || path == "bin/jadx-gui") {
131+
permissions {
132+
unix("rwxr-xr-x")
133+
}
134+
}
135+
}
129136
}
130137

131138
val distWin by tasks.registering(Zip::class) {

0 commit comments

Comments
 (0)