• @[email protected]
    link
    fedilink
    English
    12 days ago

    On a somewhat related note, why do so many open source projects give me a zip file with a single exe inside it instead of just the exe directly?

    • TJA!
      link
      fedilink
      162 days ago

      Because zipping it can reduce the size

      • FiveMacs
        link
        fedilink
        132 days ago

        Plus a lot of antivirus whatevers will straight up block the downloading of *.exe

        • @[email protected]
          link
          fedilink
          English
          121 hours ago

          My antivirus is extra paranoid: it scans new files as soon as they’re unzipped or as soon as I try to run them for the first time.

      • @[email protected]
        link
        fedilink
        English
        12 days ago

        EXE files don’t really compress well, plus the files should already be internally compressed when the exe is built.

        • @[email protected]
          link
          fedilink
          English
          21 day ago

          This is true for the code part, but executables can also contain data does compress well and maybe not be compressed inside the EXE (e.g. - to avoid the need to decompress it on every run)

          • @[email protected]
            link
            fedilink
            English
            122 hours ago

            Well sure but most exes I download are installers, where decompression only needs to happen once.

            • @[email protected]
              link
              fedilink
              English
              118 hours ago

              I’ve been on Linux for so long, I already forgot about having to download a zip file with an installer that installs a downloader that downloads and installs the actual application.

        • unalivejoy
          link
          fedilink
          English
          42 days ago

          A lot of exe files are secretly zip files. zip files can contain arbitrary data at the end of the file. exe files can have arbitrary data at the start of the file. It’s a match made at Microsoft.