Skip to content

Commit

Permalink
core: opencl update
Browse files Browse the repository at this point in the history
  • Loading branch information
koush committed Jun 7, 2024
1 parent f55cade commit 2a4bac4
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 4 deletions.
4 changes: 2 additions & 2 deletions plugins/core/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion plugins/core/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@scrypted/core",
"version": "0.3.27",
"version": "0.3.28",
"description": "Scrypted Core plugin. Provides the UI, websocket, and engine.io APIs.",
"author": "Scrypted",
"license": "Apache-2.0",
Expand Down
8 changes: 7 additions & 1 deletion plugins/core/src/platform/lxc.ts
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,13 @@ export async function checkLxcDependencies() {
r(stdout + '\n' + stderr);
}));

if (output.includes('Version: 23')) {
if (
// apt
output.includes('Version: 23')
// was installed via script at some point
|| output.includes('Version: 24.13.29138.7')
// current script version: 24.17.29377.6
) {
const cp = child_process.spawn('sh', ['-c', 'curl https://raw.githubusercontent.com/koush/scrypted/main/install/docker/install-intel-graphics.sh | bash']);
const [exitCode] = await once(cp, 'exit');
if (exitCode !== 0)
Expand Down

0 comments on commit 2a4bac4

Please sign in to comment.