chore (blend-settings): use blend to remove containers, instead of podman
This commit is contained in:
parent
82b5e7600d
commit
8bfc04a97c
1 changed files with 1 additions and 1 deletions
|
@ -33,7 +33,7 @@ async function remove_container(name) {
|
||||||
let rm_worker = new Worker(
|
let rm_worker = new Worker(
|
||||||
`data:text/javascript,
|
`data:text/javascript,
|
||||||
require('child_process').spawnSync('podman', ['stop', '-t', '0', '${name}'], { encoding: 'utf8' })
|
require('child_process').spawnSync('podman', ['stop', '-t', '0', '${name}'], { encoding: 'utf8' })
|
||||||
require('child_process').spawnSync('podman', ['rm', '-f', '${name}'], { encoding: 'utf8' })
|
require('child_process').spawnSync('blend', ['remove-container', '${name}'], { encoding: 'utf8' })
|
||||||
postMessage('')
|
postMessage('')
|
||||||
`
|
`
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in a new issue