mirror of
https://github.com/ragestudio/relic.git
synced 2025-06-09 10:34:18 +00:00
format
This commit is contained in:
parent
5047ddc539
commit
b660c4e458
@ -48,12 +48,12 @@ class ElectronApp {
|
|||||||
"pkg:update": async (event, manifest_id, { execOnFinish = false } = {}) => {
|
"pkg:update": async (event, manifest_id, { execOnFinish = false } = {}) => {
|
||||||
await this.pkgManager.update(manifest_id)
|
await this.pkgManager.update(manifest_id)
|
||||||
|
|
||||||
if(execOnFinish) {
|
if (execOnFinish) {
|
||||||
await this.pkgManager.execute(manifest_id)
|
await this.pkgManager.execute(manifest_id)
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"pkg:apply": (event, manifest_id, changes) => {
|
"pkg:apply": async (event, manifest_id, changes) => {
|
||||||
this.pkgManager.applyChanges(manifest_id, changes)
|
return await this.pkgManager.applyChanges(manifest_id, changes)
|
||||||
},
|
},
|
||||||
"pkg:retry_install": async (event, manifest_id) => {
|
"pkg:retry_install": async (event, manifest_id) => {
|
||||||
const pkg = await this.pkgManager.getInstalledPackages(manifest_id)
|
const pkg = await this.pkgManager.getInstalledPackages(manifest_id)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user