Skip to content

Compressor "lzo" is not supported! #7013

@MikeJerred

Description

@MikeJerred
  • Electron-Builder Version: 23.2.0
  • Node Version: 16.14.2
  • Electron Version: 19.0.4
  • Electron Type (current, beta, nightly): current
  • Target: linux snap x64

If I add this setting to electron-builder.yml:

snap:
  compression: lzo

Then the build fails with:

  ⨯ cannot execute  cause=exit status 1
                    errorOut=/home/runner/.cache/electron-builder/appimage/appimage-12.0.1/linux-x64/mksquashfs: Compressor "lzo" is not supported!
    /home/runner/.cache/electron-builder/appimage/appimage-12.0.1/linux-x64/mksquashfs: Compressors available:
    	gzip (default)
    	xz

Either this is a bug, or the documentation is incorrect at https://www.electron.build/configuration/snap.html which states:

compression “xz” | “lzo” | “undefined” - Sets the compression type for the snap. Can be xz, lzo, or null.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions