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:
@@ -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,
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user