• Alaknár@sopuli.xyz
      link
      fedilink
      English
      arrow-up
      13
      ·
      9 hours ago

      A guy at work wrote a script to automate something for a department. The script was, I don’t know, sub-100 lines of JavaScript. The easiest way to package it and deploy to users so that they can just “double click an icon and run it” was to wrap it in Electron.

      The original source file was 8 KB.

      The application was 350 MB.

        • Alaknár@sopuli.xyz
          link
          fedilink
          English
          arrow-up
          1
          ·
          2 hours ago

          Well, I don’t think our antivirus would let that through anyway. But the reason we wanted an .exe is also because then I could pack it as Intune-deployed package and make it available for the users that work on the thing it’s automating (there were still some manual steps needed in the process).

          Deploying an in-house built .exe solves the problem of the .exe not being certificate-signed, so things like SmartScreen stop blocking it.