TPT updator problem

  • apple5265
    25th Mar 2018 Member 0 Permalink

    I can never seem to be able to update TPT on mac. It just ask me to update manually.

    Recording

    Edited once by apple5265. Last: 25th Mar 2018
  • jacob1
    25th Mar 2018 Developer 0 Permalink
    Thanks for making this, hopefully we can get this issue solved. I think it happens every update.

    Which version of OS X are you using?

    When you type platform.exeName() in the console, what does it return?
  • apple5265
    25th Mar 2018 Member 0 Permalink

    Mac OS 10.12 on a Macbook air

    platform.exeName()  outputs:   /Applications/Powder.app/Contents/MacOS/powder-x

  • jacob1
    25th Mar 2018 Developer 0 Permalink
    Hmm, that location looks correct. I wonder if applications are no longer allowed to update their own files (powder-x) like that

    When TPT updates, it downloads the update to /Applications/Powder.app/Contents/MacOS/powder-x-update, then renames it and overwrites powder-x with it, then restarts itself.

    Does platform.restart() work at least?
  • apple5265
    25th Mar 2018 Member 0 Permalink

    @jacob1 (View Post)

     Yes, platform.restart() does restart.

     I seems to stop when it is extracting the update.

    Edited once by apple5265. Last: 25th Mar 2018