blob: e8ab56fc8b4a51fab6d851e0298c48622be3e22e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
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: <div className={staticClasses.Title}>Lossless Scaling</div>,
// The content of your plugin's menu
content: <Content />,
// The icon displayed in the plugin list
icon: <GiPlasticDuck />,
// The function triggered when your plugin unloads
onDismount() {
console.log("Lossless Scaling unloading");
}
};
});
|