View source: R/build-templates.R
| copy_installer_license | R Documentation |
electron-builder runs inside the generated project, so the file named by
installer.license_file is copied to installer_license_path(), which
build_nsis_config() references as the NSIS license. export() has
already resolved the path against the app directory; a config passed
directly to build_electron_app() uses paths relative to the working
directory. A plain-text copy is passed through add_utf8_bom() so NSIS
reads it as UTF-8.
copy_installer_license(output_dir, config)
output_dir |
Character. The Electron project directory. |
config |
List. The effective configuration. |
Invisibly, the path of the copy, or NULL when no license is set.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.