View source: R/build-templates.R
| check_tray_icon | R Documentation |
The tray shows tray.icon, or else the app icon. main.js loads the file
with Electron's nativeImage, which reads PNG and JPEG files on every
platform and ICO files only on Windows, and cannot read an .icns file.
Where it cannot read the file, the tray shows a default icon instead. When
the tray is enabled, this warns about the target platforms where that
happens, judging the file by its extension.
check_tray_icon(config, icon, platform = NULL)
config |
List. The effective configuration. |
icon |
Character path to the app icon, or |
platform |
Character vector of target platforms ( |
Invisibly, the target platforms where the tray cannot read the
file, or character(0).
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.