View source: R/build-package-json.R
| build_nsis_config | R Documentation |
nsis block from installer configMaps installer.one_click, installer.allow_to_change_installation_directory
and installer.per_machine onto electron-builder's oneClick,
allowToChangeInstallationDirectory and perMachine. Each option is
emitted only when the config sets it, so electron-builder's own defaults
apply otherwise: the one-click installer installs for the current user,
and the wizard (one_click: false) asks whether to install for all users
and does not offer a directory page. validate_config() has already
checked the values.
build_nsis_config(config)
config |
List. The effective configuration. |
installer.license_file becomes the NSIS license, pointing at the copy
that copy_installer_license() places in the generated project.
A named list for the package.json build.nsis field, empty when
no installer option is set.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.