Configure for release

This commit is contained in:
NGnius (Graham) 2022-09-05 21:55:40 -04:00
parent aad7887b84
commit 7f60a00ee4
4 changed files with 4 additions and 3 deletions

View file

@ -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

View file

@ -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",

View file

@ -1,7 +1,7 @@
{
"name": "PowerTools",
"author": "NGnius",
"flags": ["root", "debug"],
"flags": ["root", "_debug"],
"publish": {
"discord_id": "106537989684887552",
"description": "Power tweaks for power users",

View file

@ -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))