echo"cat /plist/dict/key[text()='CFBundleURLTypes']/following-sibling::array/dict/array/string/text()" | xmllint --shell ${APP_PATH}/Info.plist | sed '/^\/ >/d' | sed 's/<[^>]*.//g'
mv "$1.zip""$1" rm -rf "extractSchemeURLTemp" else echo"${GREEN}⚙️ Installed extractSchemeURL!" fi
if [ -e scripts/extract-scheme-url.sh ] then cp scripts/extract-scheme-url.sh ~/.extract-scheme-url.sh else if [ -e extract-scheme-url.sh ] then cp extract-scheme-url.sh ~/.extract-scheme-url.sh fi fi
if [ -e ~/.bashrc ] then string=$(<~/.bashrc)
if ! [[ $string == *"alias extractSchemeURL=\"bash ~/.extract-scheme-url.sh\""* ]]; then echo"Setting extractSchemeURL..." echo"alias extractSchemeURL=\"bash ~/.extract-scheme-url.sh\"" >> ~/.bashrc cat ~/.bashrc fi else echo"Setting extractSchemeURL..." echo"alias extractSchemeURL=\"bash ~/.extract-scheme-url.sh\"" > ~/.bashrc cat ~/.bashrc fi