summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorxXJSONDeruloXx <danielhimebauch@gmail.com>2025-01-22 23:39:19 -0500
committerxXJSONDeruloXx <danielhimebauch@gmail.com>2025-01-22 23:39:19 -0500
commit52cbb5022f0d6b8b27d7537316630c02982a6bf9 (patch)
treeb589affd5bd386dba74837367e5d5c0d6b6e5b51
parent3fdf564138e09500c54ed9b3b6f100dfd005efe3 (diff)
downloadDecky-Framegen-52cbb5022f0d6b8b27d7537316630c02982a6bf9.tar.gz
Decky-Framegen-52cbb5022f0d6b8b27d7537316630c02982a6bf9.zip
add description, clean up ui
-rw-r--r--main.py2
-rwxr-xr-xsrc/index.tsx13
2 files changed, 13 insertions, 2 deletions
diff --git a/main.py b/main.py
index 1111c53..bfe1ca9 100644
--- a/main.py
+++ b/main.py
@@ -101,7 +101,7 @@ class Plugin:
return {
"status": "success",
- "output": "in the games' launch options, add: /home/deck/fgmod/fgmod %COMMAND%"
+ "output": "You can now replace DLSS with FSR Frame Gen!"
}
except subprocess.TimeoutExpired:
diff --git a/src/index.tsx b/src/index.tsx
index 2b305ee..b5211ea 100755
--- a/src/index.tsx
+++ b/src/index.tsx
@@ -31,7 +31,12 @@ function FGModInstallerSection() {
const result = await checkFGModPath();
setPathExists(result.exists);
};
- checkPath();
+
+ checkPath(); // Initial check
+
+ const intervalId = setInterval(checkPath, 5000); // Check every 5 seconds
+
+ return () => clearInterval(intervalId); // Cleanup interval on component unmount
}, []);
const handleInstallClick = async () => {
@@ -75,6 +80,12 @@ function FGModInstallerSection() {
</div>
</PanelSectionRow>
)}
+ <PanelSectionRow>
+ <div>
+ Once the patch is installed, you can apply the mod by adding the following to the game's launch options:<br />
+ <code>/home/deck/fgmod/fgmod %COMMAND%</code>
+ </div>
+ </PanelSectionRow>
</PanelSection>
);
}