import { staticClasses } from "@decky/ui"; import { definePlugin } from "@decky/api"; import { GiPlasticDuck } from "react-icons/gi"; import { Content } from "./components"; export default definePlugin(() => { console.log("Lossless Scaling plugin initializing"); return { // The name shown in various decky menus name: "Lossless Scaling", // The element displayed at the top of your plugin's menu titleView:
Lossless Scaling
, // Always render to retain state when panel is toggled alwaysRender: true, // The content of your plugin's menu content: , // The icon displayed in the plugin list icon: , // The function triggered when your plugin unloads onDismount() { console.log("Lossless Scaling unloading"); } }; });