bucanero / PS4CheatsManager

PS4 Cheats Manager
http://www.bucanero.com.ar/
GNU General Public License v3.0
281 stars 35 forks source link

Self updater #79

Closed illusion0001 closed 1 year ago

illusion0001 commented 1 year ago
illusion0001 commented 1 year ago

Will rewrite using bgft

LightningMods commented 1 year ago

I believe this would be a better option and only requires an extra library https://github.com/LightningMods/store-api

I have already tested and implemented it into Apollo https://github.com/bucanero/apollo-ps4/pull/93

bucanero commented 1 year ago

another option/hack , based on latest Goldhen 2.3 would be to check if /data/pkg folder exists, then download the update there. I know it won't auto-install but it's a good fallback option.

Users that want to use plugins already have goldhen 2.3, so most cheat manager users should be able to rely on /data/pkg

LightningMods commented 1 year ago

@bucanero That does sound like a good fallback option so if they dont want to install the store or if there is an error (launch store function returns false) then you can just download the pkg to /data/pkg

illusion0001 commented 1 year ago

Opened #81

illusion0001 commented 1 year ago

I'll rethink the solution to the problem sometime. In the meantime will implement store api version.

My idea for bgft was to install dummy app that uninstalls the current app and installs new version from downloaded pkg. Though I may use a system level daemon for last resort.

LightningMods commented 1 year ago

My idea for bgft was to install dummy app that uninstalls the current app and installs new version from downloaded pkg

you just explained the Store API, the Store in this case is the dummy app, also a daemon is overkill that's why I made the Store API so people wouldn't have to resort to that

illusion0001 commented 1 year ago

Will PR store api version.