Skip to content

Commit 66877d1

Browse files
committed
core: i am really bad at this
1 parent 96a4a11 commit 66877d1

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

plugins/core/.vscode/settings.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
{
2-
"scrypted.debugHost": "127.0.0.1",
2+
"scrypted.debugHost": "scrypted-wyse",
33
}

plugins/core/package-lock.json

+2-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

plugins/core/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@scrypted/core",
3-
"version": "0.3.73",
3+
"version": "0.3.74",
44
"description": "Scrypted Core plugin. Provides the UI, websocket, and engine.io APIs.",
55
"author": "Scrypted",
66
"license": "Apache-2.0",

plugins/core/src/platform/lxc.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ export async function checkLxcDependencies() {
5454
if (cpuModel.includes('Core') && cpuModel.includes('Ultra')) {
5555
if (
5656
// apt
57-
output.includes('level-zero/')
57+
!output.includes('level-zero/')
5858
) {
5959
const cp = child_process.spawn('sh', ['-c', 'curl https://raw.githubusercontent.com/koush/scrypted/main/install/docker/install-intel-npu.sh | bash']);
6060
const [exitCode] = await once(cp, 'exit');
@@ -69,7 +69,7 @@ export async function checkLxcDependencies() {
6969
// so ensure it is not installed if this is not a core ultra system with npu.
7070
if (
7171
// apt
72-
!output.includes('level-zero/')
72+
output.includes('level-zero/')
7373
) {
7474
const cp = child_process.spawn('apt', ['-y', 'remove', 'level-zero']);
7575
const [exitCode] = await once(cp, 'exit');

0 commit comments

Comments
 (0)