ukdtom / WebTools.bundle

WebTools is a collection of tools for Plex Media Server. Like the Unsupported AppStore (UAS)
https://forums.plex.tv/discussion/288191
Mozilla Public License 2.0
1.3k stars 170 forks source link

WT Update on Windows platform #269

Closed ukdtom closed 6 years ago

ukdtom commented 7 years ago

Seen issues on Windows, where update procedure delete files not to be deleted, after downloading

ukdtom commented 7 years ago

Note, API call change here!

To upgrade, the method to call is named upgradeWT See the doc for more details

creoludifico commented 7 years ago

Should be fixed now

ukdtom commented 7 years ago

This will have to wait a little while

creoludifico commented 7 years ago

And btw when there is a new version available the Upgrade btn will be visible in the left menu

ukdtom commented 7 years ago

Created a new Github repo, named https://github.com/ukdtom/wtupgtst

Tested against that, since it contains a release named 3.0.0

Nothing happened?

ukdtom commented 6 years ago

Please pull my branch, and check the docs regarding debug....

Note, that you hard-coded front-end with the repo to check against....

Should be pulled from /version!

ukdtom commented 6 years ago

Backend should/must disable autoupdate for now

ukdtom commented 6 years ago

Working fine for me now....!!!! BUT....FrontEnd must reload the logon page, and wait until it responds!

Do test, add this to debug file: "WT_URL" : "https://api.github.com/repos/ukdtom/wtupgtst/releases/latest"

And would be nice, if frontend when calling to get the releaseinfo, would use WT_URL from version ;)

ukdtom commented 6 years ago

https://github.com/ukdtom/WebTools.bundle/blob/tommy-work3-pmsV3-partial/http/static/login/login.js#L176

ukdtom commented 6 years ago

Seems to work now...

debug file should be like: "WT_URL" : "https://github.com/ukdtom/wtupgtst"

And frontend still needs to return to logon screen after retrieving 200 from backend, and then wait for website to be online again

creoludifico commented 6 years ago

Works now!

I've added the timeout. I'll cross my fingers that this is the last one bef release