Skip to content

Commit

Permalink
Bump to version 1.3.6
Browse files Browse the repository at this point in the history
  • Loading branch information
bmhayward committed Jun 23, 2016
1 parent 3a53381 commit 461bf7b
Show file tree
Hide file tree
Showing 7 changed files with 14 additions and 6 deletions.
Binary file modified Extras/Transcode Log Analyzer.zip
Binary file not shown.
Binary file modified Setup Assistant/Transcode Setup Assistant.zip
Binary file not shown.
Binary file modified Updater/AutoUpdater.zip
Binary file not shown.
2 changes: 1 addition & 1 deletion Updater/SHA1_AU.plist
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@
<plist version="1.0">
<dict>
<key>SHA1checksum</key>
<string>bdd8ec5f8c26da2507134e9b0ed6a9e653905c38</string>
<string>9a2ccea32ae9979bb9c429411ffda19b5ecf4ac9</string>
</dict>
</plist>
Binary file modified Updater/Transcode Updater.zip
Binary file not shown.
6 changes: 5 additions & 1 deletion Updater/updateTranscode.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ PATH=/bin:/usr/bin:/sbin:/usr/sbin:/usr/local/bin export PATH
#----------------------------------------------------------FUNCTIONS----------------------------------------------------------------

function define_Constants () {
local versStamp="Version 1.1.7, 06-21-2016"
local versStamp="Version 1.1.8, 06-22-2016"

loggerTag="transcode.update"

Expand Down Expand Up @@ -196,6 +196,10 @@ function update_Transcode () {
;;
esac
done

. "${sh_echoMsg}" "Update complete." ""
else
. "${sh_echoMsg}" "SHA1 checksums do not match, update skipped." ""
fi
# delete the sempahore file
rm -f "${needsUpdatePath}"
Expand Down
12 changes: 8 additions & 4 deletions Updater/updateTranscodePost.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ PATH=/bin:/usr/bin:/sbin:/usr/sbin:/usr/local/bin export PATH
#----------------------------------------------------------FUNCTIONS----------------------------------------------------------------

function define_Constants () {
local versStamp="Version 1.0.6, 06-21-2016"
local versStamp="Version 1.0.7, 06-23-2016"

loggerTag="transcode.post-update"

Expand Down Expand Up @@ -58,6 +58,8 @@ function full_Update () {
local loopCounter=0

if [[ -e "${updateTranscode}" ]] && [[ ! -e "${waitingPlist}" || ! -e "${onHoldPlist}" || ! -e "${workingPlist}" ]]; then
. "${sh_echoMsg}" "Starting full update..." ""

updaterPath=$(mktemp -d "/tmp/transcodeFullUpdate_XXXXXXXXXXXX")
# move the compressed resources to /tmp
ditto "${workDir}/Extras/Transcode Setup Assistant.app/Contents/Resources/vtExtras.zip" "${updaterPath}"
Expand All @@ -84,14 +86,14 @@ function full_Update () {
# move and rename the diff script to /Transcode/Extras
mv -f "${updaterPath}/Extras/${i}" "${workDir}/Extras/${cmdFiles[${loopCounter}]}"

. "${sh_echoMsg}" "==> Updated ${i}" ""
. "${sh_echoMsg}" "==> Updated ${cmdFiles[${loopCounter}]}" ""
fi

(( loopCounter++ ))
done
# loop through Scripts looking for diffs
declare -a scriptFiles
scriptFiles=( "${appScriptsPath}"/* ) # get a list of filenames with path
scriptFiles=( "${updaterPath}/Scripts"/* ) # get a list of filenames with path

for i in "${scriptFiles[@]}"; do
fileName=${i##*/}
Expand All @@ -104,10 +106,12 @@ function full_Update () {
# copy the diff script to ~/Library/Application Scripts/com.videotranscode.transcode
ditto "${i}" "${appScriptsPath}"

. "${sh_echoMsg}" "==> Updated ${i}" ""
. "${sh_echoMsg}" "==> Updated ${fileName}" ""
fi
fi
done

. "${sh_echoMsg}" "Full update complete." ""
# delete full update resources from /tmp
rm -rf "${updaterPath}"
# remove sempahore from ~/Library
Expand Down

0 comments on commit 461bf7b

Please sign in to comment.