You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on May 20, 2025. It is now read-only.
* Installs the update by saving it to the location on disk where the runtime expects to find the latest version of the app.
38
-
*
38
+
*
39
39
* @param installMode Indicates when you would like the update changes to take affect for the end-user.
40
40
* @param minimumBackgroundDuration For resume-based installs, this specifies the number of seconds the app needs to be in the background before forcing a restart. Defaults to 0 if unspecified.
* Indicates whether you would like to append the description of an available release to the
153
153
* notification message which is displayed to the end user. Defaults to false.
154
154
*/
155
155
appendReleaseDescription?: boolean;
156
-
156
+
157
157
/**
158
158
* Indicates the string you would like to prefix the release description with, if any, when
159
159
* displaying the update notification to the end user. Defaults to " Description: "
160
160
*/
161
161
descriptionPrefix?: string;
162
-
162
+
163
163
/**
164
164
* The text to use for the button the end user must press in order to install a mandatory update. Defaults to "Continue".
165
165
*/
166
166
mandatoryContinueButtonLabel?: string;
167
-
167
+
168
168
/**
169
169
* The text used as the body of an update notification, when the update is specified as mandatory.
170
170
* Defaults to "An update is available that must be installed.".
171
171
*/
172
172
mandatoryUpdateMessage?: string;
173
-
173
+
174
174
/**
175
175
* The text to use for the button the end user can press in order to ignore an optional update that is available. Defaults to "Ignore".
176
176
*/
177
177
optionalIgnoreButtonLabel?: string;
178
-
178
+
179
179
/**
180
180
* The text to use for the button the end user can press in order to install an optional update. Defaults to "Install".
181
181
*/
182
182
optionalInstallButtonLabel?: string;
183
-
183
+
184
184
/**
185
185
* The text used as the body of an update notification, when the update is optional. Defaults to "An update is available. Would you like to install it?".
186
186
*/
187
187
optionalUpdateMessage?: string;
188
-
188
+
189
189
/**
190
190
* The text used as the header of an update notification that is displayed to the end user. Defaults to "Update available".
* Allows checking for an update, downloading it and installing it, all with a single call.
262
-
*
262
+
*
263
263
* @param options Options used to configure the end-user update experience (e.g. show an prompt?, install the update immediately?).
264
264
* @param syncStatusChangedCallback An optional callback that allows tracking the status of the sync operation, as opposed to simply checking the resolved state via the returned Promise.
265
265
* @param downloadProgressCallback An optional callback that allows tracking the progress of an update while it is being downloaded.
0 commit comments