capacitor-community / electron

Deploy your Capacitor apps to Linux, Mac, and Windows desktops, with the Electron platform! 🖥️
https://capacitor-community.github.io/electron/
MIT License
318 stars 58 forks source link

How to implement @electron/remote? #258

Open fromage9747 opened 11 months ago

fromage9747 commented 11 months ago

As the title states, how can I make use of @electron/remote in capacitor-community/electron?

Spent the day going through electron docs as well as forums without success.

kapiziak commented 11 months ago

What do you want to do? In most cases, if I needed to transform some information from the process side to the front-end I created a new capacitor plugin that implements some methods. Everything was transported by IPC channels. If I wanted to transport big files then I used webserver.

fromage9747 commented 11 months ago

@kapiziak I want to be able to change the size of the window programmatically. For example, small and big options. User clicks on big and the window size increases to the defined size I have set as to big.

fromage9747 commented 11 months ago

@kapiziak I am also trying to implement webshare which also requires remote.