![]() The Mac build runs after applying the execute permission to the internal executable, however you cannot save without Printf "\nSelect the application that cannot open\n\n" a="$(osascript -e 'POSIX path of (choose file default location (path to downloads folder) of type "APPL" with prompt "Select the application that cannot open")')" if ] then printf "(Re)Applying the execution permission to executable files." while read f do if ] then chmod +x "$f" fi done < <(find "$a") if ] then printf "done\n" printf "\nRemoving extended attribute from app." if ] then xattr -r -d "$a" printf "done\n" else printf "already removed\n" fi printf "\nPlease wait until application launches." open "$a" printf "done\n" fi fi printf "\n" Copy code below, paste with Terminal in focus, hit enter / return key It's location is /path/to/SomeApp.app/Contents/MacOS/executableĢ. ![]() ![]() The underlying executable cannot execute because the execute bit isn't set. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |