Configure for release
This commit is contained in:
parent
aad7887b84
commit
7f60a00ee4
4 changed files with 4 additions and 3 deletions
|
@ -1,6 +1,6 @@
|
||||||
[package]
|
[package]
|
||||||
name = "powertools-rs"
|
name = "powertools-rs"
|
||||||
version = "1.0.0-rc2"
|
version = "1.0.0"
|
||||||
edition = "2021"
|
edition = "2021"
|
||||||
|
|
||||||
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "PowerTools",
|
"name": "PowerTools",
|
||||||
"version": "1.0.0-rc2",
|
"version": "1.0.0",
|
||||||
"description": "Power tweaks for power users",
|
"description": "Power tweaks for power users",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"build": "shx rm -rf dist && rollup -c",
|
"build": "shx rm -rf dist && rollup -c",
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
{
|
{
|
||||||
"name": "PowerTools",
|
"name": "PowerTools",
|
||||||
"author": "NGnius",
|
"author": "NGnius",
|
||||||
"flags": ["root", "debug"],
|
"flags": ["root", "_debug"],
|
||||||
"publish": {
|
"publish": {
|
||||||
"discord_id": "106537989684887552",
|
"discord_id": "106537989684887552",
|
||||||
"description": "Power tweaks for power users",
|
"description": "Power tweaks for power users",
|
||||||
|
|
|
@ -187,6 +187,7 @@ const Content: VFC<{ serverAPI: ServerAPI }> = ({}) => {
|
||||||
console.debug("SMT is now " + smt.toString());
|
console.debug("SMT is now " + smt.toString());
|
||||||
const cpus = get_value(ONLINE_CPUS);
|
const cpus = get_value(ONLINE_CPUS);
|
||||||
smtGlobal = smt && smtAllowed;
|
smtGlobal = smt && smtAllowed;
|
||||||
|
// TODO: move SMT setting logic back to back-end
|
||||||
let onlines: boolean[] = [];
|
let onlines: boolean[] = [];
|
||||||
for (let i = 0; i < total_cpus; i++) {
|
for (let i = 0; i < total_cpus; i++) {
|
||||||
const online = (smtGlobal? i < cpus : (i % 2 == 0) && (i < cpus * 2))
|
const online = (smtGlobal? i < cpus : (i % 2 == 0) && (i < cpus * 2))
|
||||||
|
|
Loading…
Reference in a new issue