Skip to content

Commit

Permalink
chmod for linux and macOS
Browse files Browse the repository at this point in the history
  • Loading branch information
Androxyde committed Oct 9, 2022
1 parent 020292d commit 29709d7
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions Flashtool/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -101,19 +101,22 @@ distributions {
def os = System.getProperty("os.name").toLowerCase()
contents {
from ('src/main/resources/custom') { into 'custom' }
from {
from {
if (os.contains("windows")) {
'src/main/resources/native/windows'
}
else if (os.contains("linux")) {
'src/main/resources/native/linux'
fileMode 0755

}
else if (os.contains("mac")) {
'src/main/resources/native/mac'
fileMode 0755
}
}
} { into '.'
if (os.contains("linux") || os.contains("mac")) {
fileMode 0755
}
}
from(jre) {
into 'x10flasher_native/jre'
}
Expand Down

0 comments on commit 29709d7

Please sign in to comment.