darioragusa / JWLibrary-MediaInserter

Add custom images or videos to the Watchtower or the Meeting Workbook.
MIT License
21 stars 3 forks source link

Could this work on Electron? #7

Closed livrasand closed 2 years ago

livrasand commented 2 years ago

Do you know how I can make this work in HTML and JavaScript with Electron? My Attendant Zoom app is currently working with your code snippet. But I would like to port my app to Electron, and see the possibility of using this GREAT feature.

darioragusa commented 2 years ago

Hi, from what I'm reading on internet Electron uses Node.js as backend so with a sqlite library you should be able to replicate the code

livrasand commented 2 years ago

I'll try to convert... any tips to get started 😅? (URLs are welcome 😂)

darioragusa commented 2 years ago

I don't know, I've never used that. Maybe something like: https://stackoverflow.com/questions/32504307/how-to-use-sqlite3-module-with-electron https://www.youtube.com/watch?v=nMvjcBTFlPA&ab_channel=coderJeet

livrasand commented 2 years ago

I already solved it, I will use Blazor for the conversion. Then I'll connect it to Electron. You will be able to see the published application later in my repository. Thanks for the input!