mirror of
https://github.com/revanced/smali.git
synced 2025-05-24 02:22:20 +02:00
Don't attempt to create the smali.jar/baksmali.jar symlinks on windows.
Unsurprisingly, ant.symlink is unsupported on windows.
This commit is contained in:
parent
b0295be60c
commit
318954d56b
@ -56,7 +56,9 @@ jar {
|
|||||||
}
|
}
|
||||||
|
|
||||||
doLast {
|
doLast {
|
||||||
ant.symlink(link: file("${destinationDir}/baksmali.jar"), resource: archivePath, overwrite: true)
|
if (!System.getProperty("os.name").toLowerCase().contains("windows")) {
|
||||||
|
ant.symlink(link: file("${destinationDir}/baksmali.jar"), resource: archivePath, overwrite: true)
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -142,7 +142,9 @@ jar {
|
|||||||
}
|
}
|
||||||
|
|
||||||
doLast {
|
doLast {
|
||||||
ant.symlink(link: file("${destinationDir}/smali.jar"), resource: archivePath, overwrite: true)
|
if (!System.getProperty("os.name").toLowerCase().contains("windows")) {
|
||||||
|
ant.symlink(link: file("${destinationDir}/smali.jar"), resource: archivePath, overwrite: true)
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user