-
-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Closed as not planned
Description
- 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.
mkinitcpio and julian-alarcon