write_update_feed: Write the update feed files electron-updater's generic...

View source: R/update-feed.R

write_update_feedR Documentation

Write the update feed files electron-updater's generic provider reads

Description

Writes latest.yml, latest-mac.yml, latest-linux.yml and latest-linux-arm64.yml, each offering version with an installer that is not served, so a check finds the update and a download fails.

Usage

write_update_feed(dir, version, app_slug)

Arguments

dir

Folder to write into, created if needed.

version

Version to offer: three numbers separated by dots, optionally followed by a hyphen and a pre-release part of letters, digits, dots and hyphens, such as "1.2.3" or "1.2.3-beta.1".

app_slug

App name used in the installer file names. Lowercase letters, numbers and inner hyphens.

Value

dir, invisibly.


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