Update file executable_install-program
This commit is contained in:
parent
e565343c15
commit
6cbbc3626e
1 changed files with 10 additions and 8 deletions
|
@ -1504,9 +1504,10 @@ async function pruneInstallOrders(installOrders) {
|
||||||
}
|
}
|
||||||
|
|
||||||
async function installPlugins(pluginData) {
|
async function installPlugins(pluginData) {
|
||||||
|
if (pluginData.cmd && pluginData.plugins && pluginData.plugins.length) {
|
||||||
for (const plugin of pluginData.plugins) {
|
for (const plugin of pluginData.plugins) {
|
||||||
try {
|
try {
|
||||||
const pluginCmd = plugin.cmd.replace(/{PLUGIN}/g, plugin)
|
const pluginCmd = pluginData.cmd.replace(/{PLUGIN}/g, plugin)
|
||||||
runCommand(`Installing ${pluginData.package} plugin - ${plugin}`, `{pluginCmd}`)
|
runCommand(`Installing ${pluginData.package} plugin - ${plugin}`, `{pluginCmd}`)
|
||||||
log('success', 'Plugin', `Successfully installed ${pluginData.package} plugin - ${plugin}`)
|
log('success', 'Plugin', `Successfully installed ${pluginData.package} plugin - ${plugin}`)
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
|
@ -1515,6 +1516,7 @@ async function installPlugins(pluginData) {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
async function linkBin(installOrdersBinLink) {
|
async function linkBin(installOrdersBinLink) {
|
||||||
let flatpakInstallation, flatpakDir
|
let flatpakInstallation, flatpakDir
|
||||||
|
|
Loading…
Reference in a new issue