Native Animals: The Red Squirrel Mac OS
- Native Animals: The Red Squirrel Mac Os Catalina
- Native Animals: The Red Squirrel Mac Os 11
- Native Animals: The Red Squirrel Mac Os X
- Native Animals: The Red Squirrel Mac Os X
See related links to what you are looking for.
electron-builder configuration can be defined
- in the
package.jsonfile of your project using thebuildkey on the top level: or through the
--config <path/to/yml-or-json5-or-toml-or-js>option. Defaults toelectron-builder.yml.json, json5, toml orjs(exported configuration or function that produces configuration) formats also supported.Tip
If you want to use toml, please install
yarn add toml --dev.


Most of the options accept null — for example, to explicitly set that DMG icon must be default volume icon from the OS and default rules must be not applied (i.e. use application icon as DMG icon), set dmg.icon to null.
Artifact File Name Template¶
${ext} macro is supported in addition to file macros.
Native Animals: The Red Squirrel Mac Os Catalina
Environment Variables from File¶
- ”Albion Online is bursting at the seams with features, each seamlessly integrated, providing a true sandbox world.“ ”Albion Online is worth looking at because it aims to deconstruct the overwrought cut-and-paste template that too many MMOs build from.
- 2 days ago Paste Music is home to the world's largest live-music archive, covering everything from rock and jazz to hip hop, country and pop.
- RISC OS / r ɪ s k oʊ ˈ ɛ s / is a computer operating system originally designed by Acorn Computers Ltd in Cambridge, England.First released in 1987, it was designed to run on the ARM chipset, which Acorn had designed concurrently for use in its new line of Archimedes personal computers.
Env file electron-builder.env in the current dir (example). Supported only for CLI usage.
How to Read Docs¶
- Name of optional property is normal, required is bold.
- Type is specified after property name:
Array<String> String. Union like this means that you can specify or string (**/*), or array of strings (['**/*', '!foo.js']).
Configuration¶
appId=com.electron.${name}String - The application id. Used as CFBundleIdentifier for MacOS and as Application User Model ID for Windows (NSIS target only, Squirrel.Windows not supported). It is strongly recommended that an explicit ID is set.productNameString - Similar to the name property, but allows you to specify a product name for your executable which contains spaces and other special characters not allowed in the name property. If this value does not contain illegal characters (parenthesis, square brackets, dashes, etc.), it will be used as the install directory (unless overridden by the user withallowToChangeInstallationDirectory). If it contains illegal characters, the install directory name will default back to the name property.copyright=Copyright © year ${author}String - The human-readable copyright line for the app.
directoriesbuildResources=buildString - The path to build resources.Please note — build resources is not packed into the app. If you need to use some files, e.g. as tray icon, please include required files explicitly:
'files': ['**/*', 'build/icon.*']output=distString - The output directory. File macros are supported.appString - The application directory (containing the application package.json), defaults toapp,wwwor working directory.
macMacConfiguration - Options related to how build macOS targets.masMasConfiguration - MAS (Mac Application Store) options.dmgDmgOptions - macOS DMG options.pkgPkgOptions - macOS PKG options.
winWindowsConfiguration - Options related to how build Windows targets.nsisNsisOptionsnsisWeb- Web Installer options. Inherits NsisOptions options.appPackageUrlString - The application package download URL. Optional — by default computed using publish configuration.URL like
https://example.com/download/latestallows web installer to be version independent (installer will download latest application package). Please note — it is full URL.Custom
X-Archhttp header is set to32or64.artifactNameString - The artifact file name template. Defaults to${productName} Web Setup ${version}.${ext}.portable- Portable options.requestExecutionLevel=user“user” “highest” “admin” - The requested execution level for Windows.unpackDirNameString - The unpack directory name in TEMP directory.Defaults to uuid of build (changed on each build of portable executable).
appxAppXOptionssquirrelWindowsSquirrelWindowsOptions
linuxLinuxConfiguration - Options related to how build Linux targets.debDebOptions - Debian package options.snapSnapOptions - Snap options.appImageAppImageOptions - AppImage options.pacmanLinuxTargetSpecificOptionsrpmLinuxTargetSpecificOptionsfreebsdLinuxTargetSpecificOptionsp5pLinuxTargetSpecificOptionsapkLinuxTargetSpecificOptions
buildDependenciesFromSource=falseBoolean - Whether to build the application native dependencies from source.nodeGypRebuild=falseBoolean - Whether to executenode-gyp rebuildbefore starting to package the app.Don’t usenpm (neither
.npmrc) for configuring electron headers. Useelectron-builder node-gyp-rebuildinstead.npmArgsArray<String> String - Additional command line arguments to use when installing app native deps.npmRebuild=trueBoolean - Whether to rebuild native dependencies before starting to package the app.
buildVersionString - The build version. Maps to theCFBundleVersionon macOS, andFileVersionmetadata property on Windows. Defaults to theversion. IfTRAVIS_BUILD_NUMBERorAPPVEYOR_BUILD_NUMBERorCIRCLE_BUILD_NUMorBUILD_NUMBERorbamboo.buildNumberorCI_PIPELINE_IIDenv defined, it will be used as a build version (version.build_number).electronCompileBoolean - Whether to use electron-compile to compile app. Defaults totrueifelectron-compilein the dependencies. Andfalseif in thedevDependenciesor doesn’t specified.electronDistString - The path to custom Electron build (e.g.~/electron/out/R).electronDownload- The electron-download options.versionStringcacheString - The cache location.mirrorString - The mirror.strictSSLBooleanisVerifyChecksumBooleanplatform“darwin” “linux” “win32” “mas”archString
electronVersionString - The version of electron you are packaging for. Defaults to version ofelectron,electron-prebuiltorelectron-prebuilt-compiledependency.extendsString - The name of a built-in configuration preset or path to config file (relative to project dir). Currently, onlyreact-crais supported.If
react-scriptsin the app dependencies,react-crawill be set automatically. Set tonullto disable automatic detection.extraMetadataany - Inject properties topackage.json.readonly=falseBoolean - Whether to fail if the application is not signed (to prevent unsigned app if code signing configuration is not correct).nodeVersionString - libui-based frameworks only The version of NodeJS you are packaging for. You can set it tocurrentto set the Node.js version that you use to run.launchUiVersionBoolean String - libui-based frameworks only The version of LaunchUI you are packaging for. Applicable for Windows only. Defaults to version suitable for used framework version.frameworkString - The framework name. One ofelectron,proton-native,libui. Defaults toelectron.
afterPack- The function (or path to file or module id) to be run after pack (but before pack into distributable format and sign).afterSign- The function (or path to file or module id) to be run after pack and sign (but before pack into distributable format).artifactBuildStartedmodule:app-builder-lib/out/configuration.__type String - The function (or path to file or module id) to be run on artifact build start.artifactBuildCompletedmodule:app-builder-lib/out/configuration.__type String - The function (or path to file or module id) to be run on artifact build completed.afterAllArtifactBuild- The function (or path to file or module id) to be run after all artifacts are build.onNodeModuleFile- The function (or path to file or module id) to be run on each node module file.beforeBuild(context: BeforeBuildContext) => Promise null - The function (or path to file or module id) to be run before dependencies are installed or rebuilt. Works whennpmRebuildis set totrue. Resolving tofalsewill skip dependencies install or rebuild.If provided and
node_modulesare missing, it will not invoke production dependencies check.
remoteBuild=trueBoolean - Whether to build using Electron Build Service if target not supported on current OS.includePdb=falseBoolean - Whether to include PDB files.removePackageScripts=trueBoolean - Whether to removescriptsfield frompackage.jsonfiles.
Native Animals: The Red Squirrel Mac Os 11
Overridable per Platform Options¶
Following options can be set also per platform (top-level keys mac, linux and win) if need.
appId=com.electron.${name}String - The application id. Used as CFBundleIdentifier for MacOS and as Application User Model ID for Windows (NSIS target only, Squirrel.Windows not supported). It is strongly recommended that an explicit ID is set.artifactNameString - The artifact file name template. Defaults to${productName}-${version}.${ext}(some target can have other defaults, see corresponding options).compression=normal“store” “normal” “maximum” - The compression level. If you want to rapidly test build,storecan reduce build time significantly.maximumdoesn’t lead to noticeable size difference, but increase build time.filesThe files configuration.extraResourcesThe extra resources configuration.extraFilesThe extra files configuration.asar=trueAsarOptions Boolean - Whether to package the application’s source code into an archive, using Electron’s archive format.Node modules, that must be unpacked, will be detected automatically, you don’t need to explicitly set asarUnpack - please file an issue if this doesn’t work.
smartUnpack=trueBoolean - Whether to automatically unpack executables files.orderingStringasarUnpackArray<String> String - A glob patterns relative to the app directory, which specifies which files to unpack when creating the asar archive.
fileAssociationsArray<FileAssociation> FileAssociation - The file associations.extString Array<String> - The extension (minus the leading period). e.g.png.nameString - The name. e.g.PNG. Defaults toext.descriptionString - windows-only. The description.mimeTypeString - linux-only. The mime-type.iconString - The path to icon (.icnsfor MacOS and.icofor Windows), relative tobuild(build resources directory). Defaults to${firstExt}.icns/${firstExt}.ico(if several extensions specified, first is used) or to application icon.Not supported on Linux, file issue if need (default icon will be
x-office-document).role=EditorString - macOS-only The app’s role with respect to the type. The value can beEditor,Viewer,Shell, orNone. Corresponds toCFBundleTypeRole.isPackageBoolean - macOS-only Whether the document is distributed as a bundle. If set to true, the bundle directory is treated as a file. Corresponds toLSTypeIsPackage.protocolsArray<Protocol> Protocol - The URL protocol schemes.nameString - The name. e.g.IRC server URL.schemesArray<String> - The schemes. e.g.['irc', 'ircs'].role=Editor“Editor” “Viewer” “Shell” “None” - macOS-only The app’s role with respect to the type.
forceCodeSigningBoolean - Whether to fail if app will be not code signed.electronUpdaterCompatibilityString - The electron-updater compatibility semver range.publishThe publish options.detectUpdateChannel=trueBoolean - Whether to infer update channel from application version pre-release components. e.g. if version0.12.1-alpha.1, channel will be set toalpha. Otherwise tolatest.generateUpdatesFilesForAllChannels=falseBoolean - Please see Building and Releasing using Channels.releaseInfo- The release info. Intended for command line usage:-c.releaseInfo.releaseNotes='new features'releaseNameString - The release name.releaseNotesString - The release notes.releaseNotesFileString - The path to release notes file. Defaults torelease-notes-${platform}.md(whereplatformit is current platform —mac,linuxorwindows) orrelease-notes.mdin the build resources.releaseDateString - The release date.targetString TargetConfiguration
Metadata¶
Some standard fields should be defined in the package.json.
nameString - The application name.descriptionString - The application description.homepageString - The url to the project homepage (NuGet PackageprojectUrl(optional) or Linux Package URL (required)).If not specified and your project repository is public on GitHub, it will be
https://github.com/${user}/${project}by default.licenseString - linux-only. The license name.authornameStringemailString
repositoryString RepositoryInfo - The repository.urlString
buildConfiguration - The electron-builder configuration.
Proton Native¶
To package Proton Native app, set protonNodeVersion option to current or specific NodeJS version that you are packaging for.Currently, only macOS and Linux supported.
Build Version Management¶
CFBundleVersion (macOS) and FileVersion (Windows) will be set automatically to version.build_number on CI server (Travis, AppVeyor, CircleCI and Bamboo supported).
Hooks¶
Node.js 8
All examples assumed that you use latest Node.js 8.11.x or higher.
afterPack¶
The function (or path to file or module id) to be run after pack (but before pack into distributable format and sign).
As function
Because in a configuration file you cannot use JavaScript, can be specified as a path to file or module id. Function must be exported as default export.
File myAfterPackHook.js in the project root directory:
myAfterPackHook.js
afterSign¶
The function (or path to file or module id) to be run after pack and sign (but before pack into distributable format).
Configuration in the same way as afterPack (see above).
afterAllArtifactBuild¶
The function (or path to file or module id) to be run after all artifacts are built.
Configuration in the same way as afterPack (see above).
myAfterAllArtifactBuild.js
onNodeModuleFile¶
The function (or path to file or module id) to be run on each node module file.
Native Animals: The Red Squirrel Mac Os X
Configuration in the same way as afterPack (see above).