Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Application updates in Mac OS X

To provide application updates in Windows, we can simply download the installer and run it. Applications are installed in %PROGRAMFILES% and shortcuts are placed in various places. Keys and values are added to the registry to provide an entry in the system's Programs list.

To provide application updates in Linux, we can use the system's package manager.

How do you provide application updates in Mac OS X? I think in general you simply drag .app bundles to /Applications? Does the system provide any sort of registry other than "look in /Applications folder"? Should the general flow of updating simply involve downloading an opening a DMG file, prompting the user to drag the new application bundle into /Applications? Will copying an app bundle to a folder delete the existing bundle before copying, or does it act like a normal folder (e.g. add and replace existing files)? I'd just like some general information on how I know go about implementing a 'check for updates' feature consistent with what's expected for a Mac OS X application.

like image 563
Jake Petroules Avatar asked Aug 11 '10 03:08

Jake Petroules


People also ask

How do I Update all my apps on Mac?

To do so, open the Mac App Store by either clicking it in the Dock or “Applications” folder, or searching for it in Spotlight. Click “Updates” in the sidebar to see any that are pending. You'll see an “Update” button next to any apps with pending updates; click it to manually trigger the update.

How are updates applied on a macOS operating system?

Open the App Store on your Mac. Click Updates in the sidebar. If any updates are available, click Update All to download and install them.

Why are my apps not updating on my Mac?

You might need to have a payment method on file, even if the app that you want to download is free. Check the payment method you have on file and make sure that it isn't expired, declined, or failed. If you can't update apps and a message says that “your account is disabled in the App Store”, contact Apple Support.


1 Answers

It sounds like you should look into Sparkle.

In my experience as a Mac user (not a Cocoa dev), it's become the de facto standard for self-updating apps, save for a few monoliths like Microsoft Office and Adobe CS.

like image 196
Matt Ball Avatar answered Sep 23 '22 21:09

Matt Ball