• @ksynwa@lemmy.ml
    link
    fedilink
    143 years ago

    My work makes me use a VPN client that’s built on electron. Eats up a lot of battery on my laptop.

      • @ksynwa@lemmy.ml
        link
        fedilink
        63 years ago

        From the code I think the client itself is written in Go and the electron part is a frontend. But I couldn’t get the Go client to run without the electron frontend.

        This is the page for the client in case someone wants to help get this tunning without the electron frontend: https://client.pritunl.com/

        • @AgreeableLandscape@lemmy.mlOPM
          link
          fedilink
          63 years ago

          Seriously, why?! Go has UI libraries (plus Qt/GTK bindings) and you don’t need something that complicated for a VPN client.

          Does the frontend need to be active all the time? Then you effectively have Chrome always running while doing literally nothing most of the time, can’t imagine you have to fiddle with the VPN that often.

          • @ksynwa@lemmy.ml
            link
            fedilink
            43 years ago

            I actually haven’t tried closing the client after starting up the VPN connection. I’ll try that and report back.

          • Ephera
            link
            fedilink
            33 years ago

            I mean, I’m also having to run an Electron application for a shoddy chat and video call program. Most of the day, it will just sit there, doing nothing, and eat resources like no one’s business.
            My company bought into it and basically gave it a monopoly. So, if it uses too many resources, the laptop will need to be upgraded.

        • @redjoker
          link
          23 years ago

          Wait, it’s just OpenVPN, can you just try using your certs and username/password on the normal OpenVPN client?