View source: R/build-templates.R
| tray_icon_file | R Documentation |
copy_brand_assets() copies tray.icon into assets/ under this name,
and main.js loads it from there. The file keeps its own name unless
that is the name of the app icon's copy (see icon_asset_path()),
ignoring case. Then it gets a tray- prefix, so that neither copy
replaces the other: every platform's build takes its icon from the app
icon's copy.
tray_icon_file(tray_icon, icon = NULL)
tray_icon |
Character. Path to the tray icon. |
icon |
Character path to the app icon, or |
Character. The file name of the copy in assets/.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.