1
0
mirror of https://github.com/mitb-archive/filebot synced 2024-12-23 08:18:52 -05:00

open --reveal "$APP"

This commit is contained in:
Reinhard Pointner 2016-11-16 00:37:10 +08:00
parent 887957ea6f
commit fa389c0490

View File

@ -3,6 +3,7 @@
PKG_NAME="FileBot_Subtitles_Installer.pkg" PKG_NAME="FileBot_Subtitles_Installer.pkg"
PKG_URL="https://app.filebot.net/files/$PKG_NAME" PKG_URL="https://app.filebot.net/files/$PKG_NAME"
PKG="/tmp/$PKG_NAME" PKG="/tmp/$PKG_NAME"
APP="/Applications/FileBot Subtitles.app"
function fetch { function fetch {
curl --location --output "$1" --time-cond "$1" --retry 5 "$2" curl --location --output "$1" --time-cond "$1" --retry 5 "$2"
@ -16,4 +17,4 @@ function install {
sudo installer -verbose -package "$1" -target LocalSystem sudo installer -verbose -package "$1" -target LocalSystem
} }
fetch "$PKG" "$PKG_URL" && verify "$PKG" && install "$PKG" fetch "$PKG" "$PKG_URL" && verify "$PKG" && install "$PKG" && open --reveal "$APP"