Package app into electron with nativefier

nativefy_app(app_name, app_dir, nativefier_opts,
  app_icon = "default.ico")

Arguments

app_name

The name of the app. It will be displayed throughout the installer's window titles, wizard pages, and dialog boxes. See [Setup]:AppName for details. For continuous installations, app_name is used to check for an R package of the same name, and update it. The Continuous Installation vignette has more details.

app_dir

Development app's directory, defaults to getwd().

nativefier_opts

Character vector. Extra options to pass to nativefier when user_browser = "electron". Each string in the vector should be a valid nativefier command. For example, c('--no-overwrite', '--conceal', '--show-menu-bar'). For more information, system("nativefier --help").

app_icon

Filename of icon in app_dir, used for desktop and program menu shortcuts.