diff options
| author | TrainDoctor <traindoctor@protonmail.com> | 2022-09-01 13:46:49 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-09-01 13:46:49 -0700 |
| commit | eb439574becb9a82c283d513a98440d7c8efbafe (patch) | |
| tree | b2c0b16065f31cb2123c17622a6fe42a71cebf08 /frontend/src/plugin-loader.tsx | |
| parent | 16a6e9b6a929dea4ad4607368e4e0c515ed15b61 (diff) | |
| download | decky-loader-eb439574becb9a82c283d513a98440d7c8efbafe.tar.gz decky-loader-eb439574becb9a82c283d513a98440d7c8efbafe.zip | |
Addition of proper branch slection (#168)
* This is a bit better, but branch selection still isn't working -_-
* I'm the king of oversight
* Selecting different branch checks for updates
* Stable doesn't detect old versions, which indicates it doesn't work
* Start adding deckyState for plugin updating
* Few tweaks
* Disable nightly selection
* Update decky-frontend-lib and move useSetting set setting to async
Diffstat (limited to 'frontend/src/plugin-loader.tsx')
| -rw-r--r-- | frontend/src/plugin-loader.tsx | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/frontend/src/plugin-loader.tsx b/frontend/src/plugin-loader.tsx index 85b03704..4d3415c8 100644 --- a/frontend/src/plugin-loader.tsx +++ b/frontend/src/plugin-loader.tsx @@ -52,10 +52,8 @@ class PluginLoader extends Logger { ), icon: ( <DeckyStateContextProvider deckyState={this.deckyState}> - <> - <FaPlug /> - <TabIcon /> - </> + <FaPlug /> + <TabIcon /> </DeckyStateContextProvider> ), }); @@ -105,6 +103,7 @@ class PluginLoader extends Logger { public async notifyUpdates() { const versionInfo = (await callUpdaterMethod('get_version')).result as VerInfo; + this.deckyState.setVersionInfo(versionInfo); if (versionInfo?.remote && versionInfo?.remote?.tag_name != versionInfo?.current) { this.toaster.toast({ title: 'Decky', |
