gfn-electron icon indicating copy to clipboard operation
gfn-electron copied to clipboard

[FEATURE] Implement Chromium / Electron auto updater

Open Monoxide8969 opened this issue 8 months ago • 6 comments

I totally understand that @hmlendea has no more time nor need for this project, but since many people still regularly use this, maybe implementing an auto updater for chromium/electron could be considered?

This way the bare minimum work required to mantain this project functional and secure would be automatized. I found this through a quick search https://www.electronjs.org/docs/latest/tutorial/updates#using-updateelectronjsorg https://www.electron.build/auto-update

Unfortunately I'm not a developer, and I don't know how this would work in practice and how much time it would actually save. It could be great if someone more knowledgeable could give some feedback about it.

Monoxide8969 avatar Apr 22 '25 23:04 Monoxide8969

That's a great idea. I got it to work, though not exactly the way you mention since it still requires manual publishing. This AppImage build automatically downloads the latest Electron build from my repo, which is built automatically. I'm not to sure if he would want something like this since updating if not check can break something.

AscendXP avatar Apr 26 '25 04:04 AscendXP

I don't think just upgrading electron will break stuff. I recently switched from GFN Electron to a PWA on my desktop created using Ungoogled Chromium.

It recieves regular updates and not only it never breaks anything, but to be honest I don't even experience #250 with the PWA.

For those interested in switching, make sure to

  1. set "WebRTC IP Policy" to Default public and private interfaces in chrome://flags
  2. If you're on steam deck, run in your terminal flatpak --user override --filesystem=/run/udev:ro io.github.ungoogled_software.ungoogled_chromium for steam deck controls support

Monoxide8969 avatar May 18 '25 09:05 Monoxide8969

I don't think just upgrading electron will break stuff. I recently switched from GFN Electron to a PWA on my desktop created using Ungoogled Chromium.

It recieves regular updates and not only it never breaks anything, but to be honest I don't even experience #250 with the PWA.

For those interested in switching, make sure to

1. set "WebRTC IP Policy" to `Default public and private interfaces` in chrome://flags

2. If you're on steam deck, run in your terminal  `flatpak --user override --filesystem=/run/udev:ro io.github.ungoogled_software.ungoogled_chromium` for steam deck controls support

i followed your instructions, but i did not see any option to install GFN PWA?

spectrum705 avatar May 20 '25 14:05 spectrum705

it should give you the option as shown here

If you can't see it maybe you have to enable something in chrome://flags? Even though it should be enabled for everyone.

Monoxide8969 avatar May 20 '25 15:05 Monoxide8969

okay i did this too, but dont see the install button, weird thing is that i do see the pwa install button for sites like youtube, but not with GFN

spectrum705 avatar May 21 '25 03:05 spectrum705

Hello. I have decided to discontinue this project, for the reasons I mentioned at the top of README.md. If anyone wants to take over and continue the project themselves, contact me.

hmlendea avatar May 30 '25 08:05 hmlendea