mirror of
https://github.com/ragestudio/relic.git
synced 2025-06-09 10:34:18 +00:00
support multiple args
This commit is contained in:
parent
0774fbed8c
commit
c86ca1deb9
@ -48,11 +48,11 @@ class ElectronApp {
|
|||||||
"pkg:apply": (event, manifest_id, changes) => {
|
"pkg:apply": (event, manifest_id, changes) => {
|
||||||
this.pkgManager.applyChanges(manifest_id, changes)
|
this.pkgManager.applyChanges(manifest_id, changes)
|
||||||
},
|
},
|
||||||
"pkg:uninstall": (event, manifest_id) => {
|
"pkg:uninstall": (event, ...args) => {
|
||||||
this.pkgManager.uninstall(manifest_id)
|
this.pkgManager.uninstall(...args)
|
||||||
},
|
},
|
||||||
"pkg:execute": (event, manifest_id) => {
|
"pkg:execute": (event, ...args) => {
|
||||||
this.pkgManager.execute(manifest_id)
|
this.pkgManager.execute(...args)
|
||||||
},
|
},
|
||||||
"pkg:open": (event, manifest_id) => {
|
"pkg:open": (event, manifest_id) => {
|
||||||
this.pkgManager.open(manifest_id)
|
this.pkgManager.open(manifest_id)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user