fix: desktop backups directory change (#1178)

* fix: only move backup related files when changing file backups location

* fix: remove presently recursive error handling for third party component installation
This commit is contained in:
Mo
2022-06-29 09:03:09 -05:00
committed by GitHub
parent a3a654f381
commit b8efd823ac
4 changed files with 41 additions and 18 deletions

View File

@@ -288,12 +288,13 @@ async function installComponent(
const sendInstalledMessage = (component: Component, error?: { message: string; tag: string }) => {
if (error) {
logError(`Error when installing component ${name}: ` + error.message)
} else {
logMessage(`Installed component ${name} (${version})`)
return
}
logMessage(`Installed component ${name} (${version})`)
webContents.send(MessageToWebApp.InstallComponentComplete, {
component,
error,
})
}