icon_platforms: Platforms whose icon can come from the app icon

View source: R/build-package-json.R

icon_platformsR Documentation

Platforms whose icon can come from the app icon

Description

A platform can use the app icon when electron-builder can make its icon from the file's format and the image is large enough (see icon_min_size()). When icon_size() cannot read the size, the format alone decides.

Usage

icon_platforms(icon)

Arguments

icon

Character. Path to the app icon.

Value

Character vector of the platforms ("win", "mac", "linux") that can use icon, empty for another format.


shinyelectron documentation built on Dec. 3, 2026, 9:07 a.m.