View source: R/build-package-json.R
| icon_asset_path | R Documentation |
copy_brand_assets() copies the app icon into the generated project
under this name, and package.json and main.js refer to the copy. The
extension is kept, lowercased: up to version 26.14, electron-builder
recognizes the format of an icon file only by a lower-case extension, and
stops the build when asked to make a Linux icon set from a file named,
say, icon.PNG.
icon_asset_path(icon)
icon |
Character. Path to the app icon. |
Character. The icon path relative to the Electron project, such
as "assets/icon.png".
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.