mirror of
https://github.com/mtan93/Installomator.git
synced 2026-03-08 05:31:53 +00:00
Dropbox with appNewVersion
Output: ``` sudo /Users/st/Documents/GitHub/Installomator/utils/assemble.sh dropbox DEBUG=0 Password: 2022-04-13 13:55:33 : WARN : dropbox : setting variable from argument DEBUG=0 2022-04-13 13:55:33 : REQ : dropbox : ################## Start Installomator v. 10dev, date 2022-04-13 2022-04-13 13:55:33 : INFO : dropbox : ################## Version: 10dev 2022-04-13 13:55:33 : INFO : dropbox : ################## Date: 2022-04-13 2022-04-13 13:55:33 : INFO : dropbox : ################## dropbox 2022-04-13 13:55:34 : INFO : dropbox : BLOCKING_PROCESS_ACTION=tell_user 2022-04-13 13:55:34 : INFO : dropbox : NOTIFY=success 2022-04-13 13:55:34 : INFO : dropbox : LOGGING=INFO 2022-04-13 13:55:34 : INFO : dropbox : LOGO=/System/Applications/App Store.app/Contents/Resources/AppIcon.icns 2022-04-13 13:55:34 : INFO : dropbox : Label type: dmg 2022-04-13 13:55:34 : INFO : dropbox : archiveName: Dropbox.dmg 2022-04-13 13:55:34 : INFO : dropbox : no blocking processes defined, using Dropbox as default 2022-04-13 13:55:34 : INFO : dropbox : name: Dropbox, appName: Dropbox.app 2022-04-13 13:55:34 : INFO : dropbox : App(s) found: 2022-04-13 13:55:34 : WARN : dropbox : could not find Dropbox.app 2022-04-13 13:55:34 : INFO : dropbox : appversion: 2022-04-13 13:55:34 : INFO : dropbox : Latest version of Dropbox is 145.4.4921 2022-04-13 13:55:34 : REQ : dropbox : Downloading https://www.dropbox.com/download?plat=mac&full=1 to Dropbox.dmg 2022-04-13 13:55:37 : REQ : dropbox : no more blocking processes, continue with update 2022-04-13 13:55:37 : REQ : dropbox : Installing Dropbox 2022-04-13 13:55:37 : INFO : dropbox : Mounting /var/folders/zz/zyxvpxvq6csfxvn_n0000000000000/T/tmp.HdtYqL07/Dropbox.dmg 2022-04-13 13:55:38 : INFO : dropbox : Mounted: /Volumes/Dropbox Offline Installer 2022-04-13 13:55:38 : INFO : dropbox : Verifying: /Volumes/Dropbox Offline Installer/Dropbox.app 2022-04-13 13:55:42 : INFO : dropbox : Team ID matching: G7HH3F8CAK (expected: G7HH3F8CAK ) 2022-04-13 13:55:42 : INFO : dropbox : Installing Dropbox version 145.4.4921 on versionKey CFBundleShortVersionString. 2022-04-13 13:55:42 : INFO : dropbox : App has LSMinimumSystemVersion: 10.10 2022-04-13 13:55:42 : INFO : dropbox : Copy /Volumes/Dropbox Offline Installer/Dropbox.app to /Applications 2022-04-13 13:55:45 : WARN : dropbox : Changing owner to st 2022-04-13 13:55:45 : INFO : dropbox : Finishing... 2022-04-13 13:55:55 : INFO : dropbox : App(s) found: /Applications/Dropbox.app 2022-04-13 13:55:55 : INFO : dropbox : found app at /Applications/Dropbox.app, version 145.4.4921, on versionKey CFBundleShortVersionString 2022-04-13 13:55:55 : REQ : dropbox : Installed Dropbox, version 145.4.4921 2022-04-13 13:55:55 : INFO : dropbox : notifying 2022-04-13 13:55:56 : INFO : dropbox : App not closed, so no reopen. 2022-04-13 13:55:56 : REQ : dropbox : All done! 2022-04-13 13:55:56 : REQ : dropbox : ################## End Installomator, exit code 0 ```
This commit is contained in:
@@ -2,5 +2,6 @@ dropbox)
|
||||
name="Dropbox"
|
||||
type="dmg"
|
||||
downloadURL="https://www.dropbox.com/download?plat=mac&full=1"
|
||||
appNewVersion=$(curl -fsIL "$downloadURL" | grep -i "^location" | sed -E 's/.*%20([0-9.]*)\.dmg/\1/g')
|
||||
expectedTeamID="G7HH3F8CAK"
|
||||
;;
|
||||
|
||||
Reference in New Issue
Block a user