raspberry-pi - 电子生成器输出错误:不支持压缩器“xz”
问题描述
我正在尝试使用电子生成器在我的 Raspberry Pi 上构建 AppImage,但出现错误:
cannot execute cause=exit status 1
errorOut=/home/pi/.cache/electron-builder/appimage/appimage-12.0.1/linux-arm32/mksquashfs: Compressor "xz" is not supported!
/home/pi/.cache/electron-builder/appimage/appimage-12.0.1/linux-arm32/mksquashfs: Compressors available:
gzip (default)
有谁知道如何解决这个问题并能够为我的电子应用程序构建一个 AppImage 文件?
构建选项是:
"linux": {
"artifactName": "App Setup.${ext}",
"executableName": "App Name",
"category": "Utility",
"target": {
"target": "appimage",
"arch": [
"armv7l"
]
}
}
谢谢!
解决方案
仅供参考,我可以通过在电子设置中设置:“压缩”:“正常”来构建它。文档说无论如何都没有太大的大小差异。希望这对任何人都有帮助。
推荐阅读
- linux - Linux VM 实例上的 ODBC
- asp.net-core - System.ComponentModel.DataAnnotations - 参考
- javascript - 为什么 addEventListener 不调用我的 addItem 函数?
- javascript - 在锚点单击时禁用/阻止 PhotoSwipe 启动
- python - 列表追加不适用于 Tkinter 组合框
- php - 本地 Angular 到本地 api 的代理无法连接
- c++ - 关于这个内部类成员访问,clang 或 gcc 是否正确?
- excel - 用于在 vlookup 中连接多个匹配项的 UDF 问题
- c++ - 虚函数、覆盖它们的类模板和不完整的类型
- oracle - 使用 Kafka Connect API JDBC Sink 连接器示例到 Oracle 数据库的 Kafka 主题