• UnfortunateShort@lemmy.world
    link
    fedilink
    English
    arrow-up
    14
    ·
    2 days ago

    I wonder why so many people bundle Electron when you can make your app run in any browser. Like, you can totally write a program that just launches the browser and makes it load a site from lokal storage

    • ilinamorato@lemmy.world
      link
      fedilink
      arrow-up
      12
      ·
      2 days ago

      Electron (and Tauri, and Neutralino) also offers some deeper OS integration stuff that browsers don’t do or actively block; direct file management, USB peripheral control, that sort of thing.

      But for something like Discord, you’re totally right. You just need the browser.

      • UnfortunateShort@lemmy.world
        link
        fedilink
        English
        arrow-up
        2
        ·
        1 day ago

        You can do USB control over browser, at least enough for Keychron to do their keyboard configuration stuff as a web app. It’s pretty cool actually, no need to install anything, even works on Linux