check_updates_exported: Abort unless an app was exported with auto-updates on, by...

View source: R/update-feed.R

check_updates_exportedR Documentation

Abort unless an app was exported with auto-updates on, by this version

Description

An app exported without them does not depend on electron-updater and has no update check to try. An app exported with them by an earlier shinyelectron has a main.js that never turns on electron-updater's forceDevUpdateConfig, so it would not read the local feed.

Usage

check_updates_exported(package_json, app_dir)

Arguments

package_json

The app's package.json, as a list.

app_dir

App folder, named in the message.

Value

package_json, invisibly.


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