Plugin Dependencies
have you tested it? It doesn't work. You need to properly handle the paid plugin cases etc
I have tested it and it works for both free and paid plugins though further testing is needed for paid plugins
I have tested it and it works for both free and paid plugins though further testing is needed for paid plugins
Now it's working fine. Just one thing left: It should show the name of plugin which is installing in loader and also before installing the dependencies it's nice to show the user that it's going to install these plugins too.
I have tested it and it works for both free and paid plugins though further testing is needed for paid plugins
Now it's working fine. Just one thing left: It should show the name of plugin which is installing in loader and also before installing the dependencies it's nice to show the user that it's going to install these plugins too.
Sorry for the late response, was facing some issues irl.
I am deliberately either to show an alert for the dependencies that are going to be installed or a confirmation.
Something like
alert(
"Installer Notice",
"Acode is going to install the following dependencies<br/>"
+ plugin.dependencies.join("<br/>"),
() => {
// Resolve dependencies
},
);
Or
const shouldInstall = await confirm(
"Installer Notice",
"Acode is going to install the following dependencies<br/>"
+ plugin.dependencies.join("<br/>"),
);
if (shouldInstall) {
// Resolve dependencies
}
Use confirmation
Use confirmation
Ok 👍