We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a1a5b5e commit e561b2bCopy full SHA for e561b2b
1 file changed
shell/reverse-tools/jadx/JadxView.sh
@@ -86,12 +86,20 @@ main() {
86
fi
87
88
rm -f "${zipFilePath}"
89
- if ! isWindows; then
90
- chmod +x "${jadxDirPath}${fileSeparator}bin${fileSeparator}jadx-gui" "${jadxDirPath}${fileSeparator}bin${fileSeparator}jadx"
+ fi
+
91
+ jadxGuiShellFilePath="${jadxDirPath}${fileSeparator}bin${fileSeparator}jadx-gui"
92
+ if ! isWindows; then
93
+ if [[ ! -x "${jadxGuiShellFilePath}" ]]; then
94
+ chmod +x "${jadxGuiShellFilePath}"
95
96
+ jadxShellFilePath="${jadxDirPath}${fileSeparator}bin${fileSeparator}jadx"
97
+ if [[ ! -x "${jadxShellFilePath}" ]]; then
98
+ chmod +x "${jadxShellFilePath}"
99
100
101
- "${jadxDirPath}${fileSeparator}bin${fileSeparator}jadx-gui" "${inputFilePath}"
102
+ "${jadxGuiShellFilePath}" "${inputFilePath}"
103
}
104
105
clear
0 commit comments