Search Unity

Update app build

Discussion in 'macOS' started by PolosatiyVjih, Apr 17, 2017.

  1. PolosatiyVjih

    PolosatiyVjih

    Joined:
    Apr 5, 2014
    Posts:
    28
    Hey guys, we are looking for the way to update our product, ones it was deployed on clients machines.

    Our first plan was to use external xCode app called Launcher, this app checked our server for updates, downloaded that, and planned to replace updated file inside .app build.

    But, we have met problem with permissions, it is not so easy to delete smth inside .app file(what makes sense), for this you need to have permissions. Manually setting that up for every file inside .app is not flexible.

    I also thought to use terminal program with sudo, but this is not flexible to, as you would need to write the password in terminal, what our users wont do.

    So the question is following.
    What is the best way to update already published outside any stores like steam and app store app.
    Lets say we want to change scenes, or fix smth inside the scripts, how we can do that?

    P.S. our idea above works fine on Windows, but our main target is Mac.

    Thanks!
     
  2. JoeStrout

    JoeStrout

    Joined:
    Jan 14, 2011
    Posts:
    9,859
    The Mac standard seems to be to simply download an entirely new version of the app. Patching is uncommon, probably because of the big hairy security issues it raises.

    But you can at least automate the process of checking for a new version, downloading it, and installing it (though the latter step might require a password too).