added tbz support and TextMate

This commit is contained in:
Armin Briegel
2020-03-12 12:20:34 +01:00
parent 7e4a7e7850
commit d7b242c4ca
3 changed files with 13 additions and 6 deletions

View File

@@ -54,9 +54,9 @@ elif [ "$archiveExt" = "dmg" ]; then
fi
hdiutil detach "$dmgmount"
elif [ "$archiveExt" = "zip" ]; then
elif [ "$archiveExt" = "zip" ] || [ "$archiveExt" = "tbz" ]; then
# unzip the archive
unzip -qq "$archiveName"
tar -xf "$archiveName"
# check if app exists
appPath=$(find "$tmpDir" -name "*.app" -maxdepth 2 -print )