From b660c4e45856dfaddc780af5e1e604912bf545a0 Mon Sep 17 00:00:00 2001 From: SrGooglo Date: Mon, 25 Mar 2024 08:13:26 +0100 Subject: [PATCH] format --- src/main/index.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/main/index.js b/src/main/index.js index 35a06bb..4272289 100644 --- a/src/main/index.js +++ b/src/main/index.js @@ -48,12 +48,12 @@ class ElectronApp { "pkg:update": async (event, manifest_id, { execOnFinish = false } = {}) => { await this.pkgManager.update(manifest_id) - if(execOnFinish) { + if (execOnFinish) { await this.pkgManager.execute(manifest_id) } }, - "pkg:apply": (event, manifest_id, changes) => { - this.pkgManager.applyChanges(manifest_id, changes) + "pkg:apply": async (event, manifest_id, changes) => { + return await this.pkgManager.applyChanges(manifest_id, changes) }, "pkg:retry_install": async (event, manifest_id) => { const pkg = await this.pkgManager.getInstalledPackages(manifest_id)