AppImage
顶层 appImage 键包含一组选项,用于指示 electron-builder 应如何构建 AppImage。
桌面集成
自 electron-builder 21 版本起,桌面集成不再是生成的 AppImage 文件的一部分。AppImageLauncher 是集成 AppImage 的推荐方式。
配置¶
Electron-Builder / app-builder-lib / AppImageOptions
继承¶
属性¶
artifactName?¶
readonlyoptionalartifactName:null|string
继承自¶
TargetSpecificOptions.artifactName
category?¶
readonlyoptionalcategory:null|string
继承自¶
description?¶
readonlyoptionaldescription:null|string
与应用程序 package.json 中的 description 相同,但允许您为 Linux 指定不同的描述。
继承自¶
CommonLinuxOptions.description
desktop?¶
readonlyoptionaldesktop:null|LinuxDesktopFile
继承自¶
executableArgs?¶
readonlyoptionalexecutableArgs:null|string[]
可执行文件参数。传递给 executableName
继承自¶
CommonLinuxOptions.executableArgs
license?¶
readonlyoptionallicense:null|string
EULA 许可文件的路径。默认为 license.txt 或 eula.txt(或大写变体)。仅支持纯文本。
mimeTypes?¶
readonlyoptionalmimeTypes:null|string[]
除了文件关联中指定的 mime 类型之外的 mime 类型。如果您不想注册新的 mime 类型,但想重用现有的,请使用它。
继承自¶
publish?¶
optionalpublish:Publish
继承自¶
synopsis?¶
readonlyoptionalsynopsis:null|string
简短描述。