summaryrefslogtreecommitdiff
path: root/src/index.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'src/index.tsx')
-rw-r--r--src/index.tsx10
1 files changed, 4 insertions, 6 deletions
diff --git a/src/index.tsx b/src/index.tsx
index 5cf59e4..0ea93e0 100644
--- a/src/index.tsx
+++ b/src/index.tsx
@@ -1,9 +1,8 @@
import { definePlugin } from "@decky/api";
import { MdOutlineAutoAwesomeMotion } from "react-icons/md";
import { useState, useEffect } from "react";
-import { FGModInstallerSection } from "./components/FGModInstallerSection";
+import { OptiScalerControls } from "./components";
// import { InstalledGamesSection } from "./components/InstalledGamesSection";
-import { DocumentationButton } from "./components/DocumentationButton";
import { checkFGModPath } from "./api";
import { safeAsyncOperation } from "./utils";
import { TIMEOUTS } from "./utils/constants";
@@ -27,11 +26,10 @@ function MainContent() {
return (
<>
- <FGModInstallerSection pathExists={pathExists} setPathExists={setPathExists} />
+ <OptiScalerControls pathExists={pathExists} setPathExists={setPathExists} />
{pathExists === true ? (
<>
{/* <InstalledGamesSection /> */}
- <DocumentationButton />
</>
) : null}
</>
@@ -39,12 +37,12 @@ function MainContent() {
}
export default definePlugin(() => ({
- name: "Framegen Plugin",
+ name: "Decky Framegen",
titleView: <div>Decky Framegen</div>,
alwaysRender: true,
content: <MainContent />,
icon: <MdOutlineAutoAwesomeMotion />,
onDismount() {
- console.log("Framegen Plugin unmounted");
+ console.log("Decky Framegen Plugin unmounted");
},
}));