app builder lib.Interface.FlatpakOptions
Electron-Builder / app-builder-lib / FlatpakOptions
Extends¶
Properties¶
artifactName?¶
readonlyoptionalartifactName:null|string
The artifact file name template.
Inherited from¶
TargetSpecificOptions.artifactName
base?¶
readonlyoptionalbase:string
Start with the files from the specified application. This can be used to create applications that extend another application. Defaults to org.electronjs.Electron2.BaseApp.
See flatpak manifest documentation.
baseVersion?¶
readonlyoptionalbaseVersion:string
Use this specific version of the application specified in base. Defaults to 20.08.
See flatpak manifest documentation.
branch?¶
readonlyoptionalbranch:string
The branch to use when exporting the application. Defaults to master.
See flatpak manifest documentation.
category?¶
readonlyoptionalcategory:null|string
The application category.
Inherited from¶
description?¶
readonlyoptionaldescription:null|string
As description from application package.json, but allows you to specify different for Linux.
Inherited from¶
CommonLinuxOptions.description
desktop?¶
readonlyoptionaldesktop:null|LinuxDesktopFile
The Desktop file
Inherited from¶
executableArgs?¶
readonlyoptionalexecutableArgs:null|string[]
The executable parameters. Pass to executableName
Inherited from¶
CommonLinuxOptions.executableArgs
files?¶
readonlyoptionalfiles: [string,string][]
Files to copy directly into the app. Should be a list of [source, dest] tuples. Source should be a relative/absolute path to a file/directory to copy into the flatpak, and dest should be the path inside the app install prefix (e.g. /share/applications/).
See @malept/flatpak-bundler documentation.
finishArgs?¶
readonlyoptionalfinishArgs:string[]
An array of arguments passed to the flatpak build-finish command. Defaults to:
[
  // Wayland/X11 Rendering
  "--socket=wayland",
  "--socket=x11",
  "--share=ipc",
  // Open GL
  "--device=dri",
  // Audio output
  "--socket=pulseaudio",
  // Read/write home directory access
  "--filesystem=home",
  // Allow communication with network
  "--share=network",
  // System notifications with libnotify
  "--talk-name=org.freedesktop.Notifications",
]
See flatpak manifest documentation.
license?¶
readonlyoptionallicense:null|string
The path to EULA license file. Defaults to license.txt or eula.txt (or uppercase variants). Only plain text is supported.
mimeTypes?¶
readonlyoptionalmimeTypes:null|string[]
The mime types in addition to specified in the file associations. Use it if you don’t want to register a new mime type, but reuse existing.
Inherited from¶
modules?¶
readonlyoptionalmodules:any[]
An array of objects specifying the modules to be built in order.
See flatpak manifest documentation.
publish?¶
optionalpublish:Publish
Inherited from¶
runtime?¶
readonlyoptionalruntime:string
The name of the runtime that the application uses. Defaults to org.freedesktop.Platform.
See flatpak manifest documentation.
runtimeVersion?¶
readonlyoptionalruntimeVersion:string
The version of the runtime that the application uses. Defaults to 20.08.
See flatpak manifest documentation.
sdk?¶
readonlyoptionalsdk:string
The name of the development runtime that the application builds with. Defaults to org.freedesktop.Sdk.
See flatpak manifest documentation.
symlinks?¶
readonlyoptionalsymlinks: [string,string][]
Symlinks to create in the app files. Should be a list of [target, location] symlink tuples. Target can be either a relative or absolute path inside the app install prefix, and location should be a absolute path inside the prefix to create the symlink at.
See @malept/flatpak-bundler documentation.
synopsis?¶
readonlyoptionalsynopsis:null|string
The short description.
Inherited from¶
useWaylandFlags?¶
readonlyoptionaluseWaylandFlags:boolean
Whether to enable the Wayland specific flags (--enable-features=UseOzonePlatform --ozone-platform=wayland) in the wrapper script. These flags are only available starting with Electron version 12. Defaults to false.