Unlink managed kim link on factory-reset

Signed-off-by: Eric Promislow <epromislow@suse.com>
This commit is contained in:
Eric Promislow
2021-10-04 10:00:44 -07:00
parent b758f68cf1
commit 0cde9b3f84

View File

@@ -436,7 +436,7 @@ Electron.ipcMain.on('factory-reset', async() => {
await k8smanager.factoryReset();
if (os.platform() === 'darwin') {
// Unlink binaries
for (const name of ['helm', 'kubectl', 'nerdctl']) {
for (const name of ['helm', 'kim', 'kubectl', 'nerdctl']) {
Electron.ipcMain.emit('install-set', { reply: () => { } }, name, false);
}
}