MAS Resource/Helper
This commit is contained in:
parent
169d41c5e0
commit
3a55652c32
|
@ -8,7 +8,7 @@ fetch()
|
||||||
|
|
||||||
echo "Fetch $FILE"
|
echo "Fetch $FILE"
|
||||||
if [ ! -f "$FILE" ] || test "`find $FILE -mtime $TIME`"; then
|
if [ ! -f "$FILE" ] || test "`find $FILE -mtime $TIME`"; then
|
||||||
curl -L -o "$FILE" -z "$FILE" "$LINK"
|
curl -L -o "$FILE" -z "$FILE" --retry 5 "$LINK"
|
||||||
|
|
||||||
if [[ "${FILE##*.}" == "gz" ]]; then
|
if [[ "${FILE##*.}" == "gz" ]]; then
|
||||||
gunzip -k -f "$FILE"
|
gunzip -k -f "$FILE"
|
||||||
|
|
|
@ -456,7 +456,7 @@
|
||||||
|
|
||||||
<!-- include brew install script (can't put it into Contents/MacOS because that will break codesign and MAS submissions -->
|
<!-- include brew install script (can't put it into Contents/MacOS because that will break codesign and MAS submissions -->
|
||||||
<copy todir="${path.app}/Contents/Resources">
|
<copy todir="${path.app}/Contents/Resources">
|
||||||
<fileset dir="${dir.installer}/appbundle/MacOS" includes="brew.sh" />
|
<fileset dir="${dir.installer}/appbundle" includes="Helper/**" />
|
||||||
</copy>
|
</copy>
|
||||||
|
|
||||||
<!-- fix broken symlink -->
|
<!-- fix broken symlink -->
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#!/bin/sh
|
#!/bin/sh -x
|
||||||
|
|
||||||
# brew requires Command Line Tools for Xcode
|
# brew requires Command Line Tools for Xcode
|
||||||
xcode-select --print-path || sudo xcode-select --install
|
xcode-select --print-path || sudo xcode-select --install
|
|
@ -0,0 +1,7 @@
|
||||||
|
#!/bin/sh -x
|
||||||
|
|
||||||
|
PKG_NAME="FileBot_Subtitles_Installer.pkg"
|
||||||
|
PKG_URL="https://app.filebot.net/files/$PKG_NAME"
|
||||||
|
PKG="/tmp/$PKG_NAME"
|
||||||
|
|
||||||
|
curl -L -o "$PKG" -z "$PKG" --retry 5 "$PKG_URL" && spctl -a -v --type install "$PKG" && sudo installer -verbose -pkg "$PKG" -target LocalSystem
|
|
@ -1,6 +1,7 @@
|
||||||
# dynamic links
|
# dynamic links
|
||||||
redirect 302 /files/FileBot-setup.exe https://github.com/filebot/filebot-installer/releases/download/v1.0/FileBot-setup.exe
|
redirect 302 /files/FileBot-setup.exe https://github.com/filebot/filebot-installer/releases/download/v1.0/FileBot-setup.exe
|
||||||
redirect 302 /files/FileBot.app https://itunes.apple.com/us/app/filebot/id905384638?mt=12&uo=6&at=1l3vupy&ct=app
|
redirect 302 /files/FileBot.app https://itunes.apple.com/us/app/filebot/id905384638?mt=12&uo=6&at=1l3vupy&ct=app
|
||||||
|
redirect 302 /files/FileBot_Subtitles_Installer.pkg https://downloads.sourceforge.net/project/filebot/filebot/LATEST/FileBot_Subtitles_Installer.pkg
|
||||||
redirect 302 /files/FileBot.appx https://www.microsoft.com/store/apps/9nblggh52t9x
|
redirect 302 /files/FileBot.appx https://www.microsoft.com/store/apps/9nblggh52t9x
|
||||||
redirect 302 /purchase/FileBot.app https://itunes.apple.com/us/app/filebot/id905384638?mt=12&uo=6&at=1l3vupy&ct=darwin
|
redirect 302 /purchase/FileBot.app https://itunes.apple.com/us/app/filebot/id905384638?mt=12&uo=6&at=1l3vupy&ct=darwin
|
||||||
redirect 302 /forums/faq.php https://www.filebot.net/forums/viewtopic.php?f=3&t=7
|
redirect 302 /forums/faq.php https://www.filebot.net/forums/viewtopic.php?f=3&t=7
|
||||||
|
|
Loading…
Reference in New Issue