Static Download Link?

RudyDuke
RudyDuke
Community Member

So am currently writing various scripts in our environment to automatically download the latest version of an app when a user requests to install it. Typically for this there is usually some kind of static link (for example Zoom has one at https://zoom.us/client/latest/ZoomInstallerIT.pkg). I've noticed that the default Mac download is at https://app-updates.agilebits.com/download/OPM7 and wanted to know if this changes from version to version or is it static? And if there is no static download options could we possibly get one? I found no documentation around it and tried to search these forums. This is the only default software we have that does not have one and it gets annoying always uploading the updated package into our MDM every time. I also understand that I may have to put this in as a feature request.


1Password Version: 7.8.6
Extension Version: 2.0.5
OS Version: macOS 10.15.7

Comments

  • Hi @RudyDuke

    https://app-updates.agilebits.com/download/OPM7 will always give you the latest version of 1Password 7 for Mac, which is the current major version. The only time that would need to change is if there were a new major version you wanted to roll out, which typically only happens every 2 years or so.

    Ben

  • RudyDuke
    RudyDuke
    Community Member

    Fantastic! Thank you for the quick response :)

  • You're very welcome. :)

    Ben

  • RudyDuke
    RudyDuke
    Community Member

    @Ben I realized that when downloading 1password it download as 1password-7.8.6.pkg so I am unable to write it in a permanently updating script (at least easily and reliably, not the greatest at scripting) to auto install on our Macs here. Working on a much bigger script to get it all to work, but it would be great to have some kind of "IT installer" link with static download links and filename.

  • @RudyDuke

    I'm not sure what system you're using but it should be possible to specify what to name the downloaded file. For example, using curl:

    curl -o 1password7-latest.pkg https://app-updates.agilebits.com/download/OPM7 -L

    would save the download as 1password7-latest.pkg

    Ben

  • RudyDuke
    RudyDuke
    Community Member

    As I said, not great at scripting. Thank you very much! That line helped me realize how much better I can write these scripts also :)

This discussion has been closed.