devblog/day 64 overkillgit-annexhttp://git-annex.branchable.com/devblog/day_64__overkill/git-annexikiwiki2013-11-27T22:47:37ZUpgrade installation in OSXhttp://git-annex.branchable.com/devblog/day_64__overkill/comment_1_e1db7678aae37af281d31ae211677786/abg2013-11-27T22:47:37Z2013-11-24T00:28:03Z
<p>Hey,</p>
<p>You don't have to implement any whacky DMG replacement logic for OSX upgrades. No sane user will be using the application from the DMG. They will drag the .app directory to /Applications or some non-standard location and unmount the DMG. So your upgrade logic for OSX should end up looking very similar to the upgrade logic for Linux.</p>
Running from DMG is not a sane use-casehttp://git-annex.branchable.com/devblog/day_64__overkill/comment_3_f7a96f0b6d942d0b59d9d0ec1b21c4bf/Wichert2013-11-27T22:47:37Z2013-11-25T08:23:38Z
I don't think you should bother trying to support upgrades when people are running from a dmg. A DMG is just a disk image, and a format commonly used to distribute software. Running software from a DMG is not something anyone does beyond a quick first test of an application. A more reasonable thing to do, which many applications do now, is to offer to move the application from the DMG to /Applications if you detect someone is running it from a DMG.