I'm looking for a way to implement "Plugins" for my Electron tool.
Below is a pseudo example of how I'm thinking it would work
Supply .js/.zip/plugin file
File would contain name of plugin, and it's category (Global, Team centric, Misc)
File would contain HTML for the GUI, which get's placed in a div designated for tool space. This name would be added as an option to the necessary Select, as well as logic added to pull in the HTML to the same div
In the tool, select the plugin file: page will load the JavaScript script, and add option to select along with logic to switch to the plugin
The hope is to automate my current process. Currently I'm manually updating the index page to reference the new JavaScript script, and to add the option on the select The JavaScript Script has logic in it looking at the Select, and looking to see if the option was selected which then pulls in it's own HTML via a function within
Is there anything I can reference/utilize to make this work?
With an improved runtime and great integration with JavaScript and Node. js, Electron JS makes both designing desktop apps and maintaining them on cross platforms easier and better.
It's easier than you thinkElectron is a framework for creating native applications with web technologies like JavaScript, HTML, and CSS. It takes care of the hard parts so you can focus on the core of your application.
PrerequisitesTo use Electron, you need to install Node. js. We recommend that you use the latest LTS version available. Please install Node.
After 4+ months of working on this, I've managed to get this to work. I will try to outline my approach.
all i need to do is update the json file and upload the .js file to add a new plugin.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With