fortheusers / hb-appstore

Homebrew App Store - GUI for downloading/managing homebrew apps
https://hb-app.store
GNU General Public License v3.0
1.02k stars 60 forks source link

[Wii U / Aroma] WUHB build cannot update itself. #92

Closed vgmoose closed 1 year ago

vgmoose commented 1 year ago

This is the last major milestone blocking a WUHB release of hb-appstore.

When using the WUHB release, if pointed to a custom repo where an update is available for hb-appstore itself, the update will not install properly, and the old version of hb-appstore will remain.

This is due to the WUHB opening a romfs mount when running via the menu. We have had a similar issue on Switch before. The fix should be to integrate libwuhbutils and unmount prior to a self-update, and then exit after.

Without this being fixed, hb-appstore loses the ability to update itself, which is a requirement to allow the user to have a "chain of continuity" using the device alone to stay updated, without bringing out a phone or PC.

vgmoose commented 1 year ago

Likely fixed in https://github.com/fortheusers/hb-appstore/commit/ed40e5eb656ceb5dc6dc913a1bb834450521317c by calling RPXLoader_UnmountCurrentRunningBundle before installing. Need to test upgrade path before 2.3 to ensure 2.3 builds can upgrade to 2.4 and beyond.

vgmoose commented 1 year ago

Fixed in 2.3.1