• MangoPenguin@lemmy.blahaj.zone
    link
    fedilink
    English
    arrow-up
    1
    ·
    2 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?

      • FiveMacs@lemmy.ca
        link
        fedilink
        arrow-up
        11
        ·
        2 days ago

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

        • unalivejoy@lemm.ee
          link
          fedilink
          English
          arrow-up
          3
          ·
          2 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.

        • AeonFelis@lemmy.world
          link
          fedilink
          English
          arrow-up
          1
          ·
          2 days 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)