svelte-capacitor icon indicating copy to clipboard operation
svelte-capacitor copied to clipboard

Add Electron Support

Open drannex42 opened this issue 3 years ago • 4 comments

This was in the very first version and it was beyond buggy. I removed it. This is an official issue to get it sorted out.

I have a barely working version, but it requires some serious modifications to the electron build system, so I am not particularly proud of it.

If anyone has any ideas, please submit them here!

drannex42 avatar Dec 30 '21 22:12 drannex42

Not precisely a life saver and not necessarely answering your questino. But wouldn't supporting Tauri instead of Electron would make this doable?

Lucasmiguelmac avatar Jan 14 '22 07:01 Lucasmiguelmac

Not precisely a life saver and not necessarely answering your questino. But wouldn't supporting Tauri instead of Electron would make this doable?

My biggest worry with supporting Tauri is how it uses the OS'es native web inplementation.

This will cause major issues for cross platform support as most capacitor plug-ins that support a web platform, already support the chromium/electron ecosystem (as much as I detest the stranglehold that Google has on the web ecosystem).

Along with the varying specs and implementation of device apis (namely, the filesystem) I can reasonably see that this will cause major issues for cross platform development which is the ultimate goal of this project.

drannex42 avatar Feb 23 '22 04:02 drannex42

Didn't know capacitor was so dependent on chromium. Then Neutralino is not a choice either, a shame.

I myself am not capable in any shape or form of achieving such implementation. But, for what is worth, I will try to integrate it myself with my next client (mid April) and see how it goes. Any resource to achieve this task will be welcome

Lucasmiguelmac avatar Feb 23 '22 16:02 Lucasmiguelmac