cobalt icon indicating copy to clipboard operation
cobalt copied to clipboard

Question: Electron support status?

Open tinywrkb opened this issue 3 years ago • 3 comments

How well cobalt handles Electron apps? Are there any pitfalls to be aware of?
I'm considering adding it to Vieb, an Electron based web browser. So far, I didn't notice any regression, though restart never worked even without cobalt.

tinywrkb avatar Sep 08 '22 09:09 tinywrkb

It sets some options that aren't ideal for Electron apps (like https://github.com/refi64/cobalt/commit/fccaada69563fe8e1055e825efeab1f399f50665), also see #4. That being said:

restart never worked even without cobalt

I wonder if having this option disabled broke something...

refi64 avatar Sep 09 '22 23:09 refi64

oops, didn't mean to close

refi64 avatar Sep 09 '22 23:09 refi64

I've seen the comments about ZYPAK_SPAWN_LATEST_ON_REEXEC before, and I remember playing with this with and without Chromium sandboxing enabled, but without much success.
Restart only worked when avoiding zypak and disabling Chromium sandboxing to run correctly in the Flatpak sandbox.
Maybe this is an application specific issue.
In any case, I need to try this again.

tinywrkb avatar Sep 13 '22 11:09 tinywrkb