Skip to content

Commit

Permalink
Last commit was broken lololololol
Browse files Browse the repository at this point in the history
  • Loading branch information
NotNite committed Dec 6, 2023
1 parent 8add202 commit bb64079
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/components/Patchers.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,9 @@ function Install({ install }: { install: DetectedInstall }) {
React.useEffect(() => {
let unlisten: () => void = () => {};

invoke("get_downloaded_moonlight").then((result) => {
setInstalledVersion(result as string | null);
});
listen("installed_version_changed", (event) => {
setInstalledVersion(event.payload as string | null);
}).then((unlistenFn) => {
Expand Down

0 comments on commit bb64079

Please sign in to comment.