chore (blend-settings): use blend to remove containers, instead of podman

This commit is contained in:
Rudra Saraswat 2023-06-13 21:01:47 +10:00
parent 82b5e7600d
commit 8bfc04a97c

View file

@ -33,7 +33,7 @@ async function remove_container(name) {
let rm_worker = new Worker(
`data:text/javascript,
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('')
`
)