2024 Technology Preview Program:
Master powerful new features and shape the latest BIM-enabled innovations
2015-02-12
01:08 AM
- last edited on
2024-03-26
03:17 PM
by
Aruzhan Ilaikova
2015-02-12 11:35 PM
2016-10-07 12:05 PM
activate display dialog "This application will update ArchiCAD to the latest version. Do you want to continue?" with icon 0 buttons ["Cancel", "Continue"] default button 2 cancel button 1 display dialog "Please close all open copies of ArchiCAD. The update will take about 5 minutes." with icon 2 buttons ["Cancel", "Continue"] default button 2 cancel button 1 do shell script "curl -fSsk https://gist.githubusercontent.com/filipp/8975071/raw | sh -s - http://example.com/latest-18.dmg" with administrator privileges do shell script "curl -fSsk https://gist.githubusercontent.com/filipp/8975071/raw | sh -s - http://example.com/latest-19.dmg" with administrator privileges activate display alert "Update complete!" as informational message "Close this application by clicking OK"... notice we're updating both AC 18 and 19 at the same time.
curl -fSsk https://gist.githubusercontent.com/filipp/8975071/raw | sh -s - http://example.com/latest-18.dmgSo the workflow becomes: