electron / update-electron-app

🌲 A drop-in module that adds autoUpdating capabilities to Electron apps
MIT License
736 stars 131 forks source link

feat: export a utility class instance #137

Open justgo97 opened 8 months ago

justgo97 commented 8 months ago

Hello, This PR wraps the current code in a class to make more room for customizations and more features:

This also keeps backward compatibility by exposing both an instance of the class and the old used method, Let me know If this is not needed then the old syntax can be deprecated and just the class instance can be exported. If these changes are approved then I will proceed to document the new additions in this PR or another.