From 7f60a00ee4d4f382d8db5fb0e35376158e24b1ca Mon Sep 17 00:00:00 2001 From: "NGnius (Graham)" Date: Mon, 5 Sep 2022 21:55:40 -0400 Subject: [PATCH] Configure for release --- backend/Cargo.toml | 2 +- package.json | 2 +- plugin.json | 2 +- src/index.tsx | 1 + 4 files changed, 4 insertions(+), 3 deletions(-) diff --git a/backend/Cargo.toml b/backend/Cargo.toml index d1a9794..5763c6f 100644 --- a/backend/Cargo.toml +++ b/backend/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "powertools-rs" -version = "1.0.0-rc2" +version = "1.0.0" edition = "2021" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html diff --git a/package.json b/package.json index 21e117f..9d5e609 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "PowerTools", - "version": "1.0.0-rc2", + "version": "1.0.0", "description": "Power tweaks for power users", "scripts": { "build": "shx rm -rf dist && rollup -c", diff --git a/plugin.json b/plugin.json index 99dadc6..09990e9 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 c25530b..70f7b55 100755 --- a/src/index.tsx +++ b/src/index.tsx @@ -187,6 +187,7 @@ const Content: VFC<{ serverAPI: ServerAPI }> = ({}) => { console.debug("SMT is now " + smt.toString()); const cpus = get_value(ONLINE_CPUS); smtGlobal = smt && smtAllowed; + // TODO: move SMT setting logic back to back-end let onlines: boolean[] = []; for (let i = 0; i < total_cpus; i++) { const online = (smtGlobal? i < cpus : (i % 2 == 0) && (i < cpus * 2))