From 1fbfb8a7436d8286af40c696968d76d487780b65 Mon Sep 17 00:00:00 2001 From: "NGnius (Graham)" Date: Mon, 4 Jul 2022 17:12:13 -0400 Subject: [PATCH] Update to latest pluginlib version --- main.py | 2 +- plugin.json | 2 +- src/index.tsx | 20 ++++++++++---------- 3 files changed, 12 insertions(+), 12 deletions(-) diff --git a/main.py b/main.py index 598c6ab..c071d1e 100644 --- a/main.py +++ b/main.py @@ -5,7 +5,7 @@ import asyncio import pathlib import subprocess -VERSION = "0.7.0-alpha-react" +VERSION = "0.7.0-indev" HOME_DIR = "/home/deck" DEFAULT_SETTINGS_LOCATION = HOME_DIR + "/.config/powertools/default_settings.json" LOG_LOCATION = "/tmp/powertools.log" diff --git a/plugin.json b/plugin.json index ee4f4ee..6a2b283 100644 --- a/plugin.json +++ b/plugin.json @@ -1,7 +1,7 @@ { "name": "PowerTools", "author": "NGnius", - "flags": ["root", "debug"], + "flags": ["root", "_debug"], "publish": { "discord_id": "106537989684887552", "description": "Power tweaks for power users", diff --git a/src/index.tsx b/src/index.tsx index 2d0956c..d1d23b1 100755 --- a/src/index.tsx +++ b/src/index.tsx @@ -10,8 +10,8 @@ import { ServerAPI, //showContextMenu, staticClasses, - Slider, - Toggle, + SliderField, + ToggleField, //NotchLabel gamepadDialogClasses, joinClassNames, @@ -139,7 +139,7 @@ const Content: VFC<{ serverAPI: ServerAPI }> = ({serverAPI}) => { CPU - = ({serverAPI}) => { /> - = ({serverAPI}) => { /> - = ({serverAPI}) => { /> - = ({serverAPI}) => { {/* index: 1 */} - = ({serverAPI}) => { {/* index: 2 */} - = ({serverAPI}) => { {/* Persistence */} - = ({serverAPI}) => { /> - {