1681-engine / updates / pickWebUpdate
Function: pickWebUpdate() ​
ts
function pickWebUpdate(
latest,
channelUrl,
webVersion,
nativeBuild
): WebBundle | null;Defined in: src/updates/pickUpdate.ts:14
The web to take from latest: newer than the web running (webVersion), and needing no native code this app lacks (nativeBuild ≥ the web's minNative). A browser or desktop build with no native layer passes Infinity.
Parameters ​
| Parameter | Type |
|---|---|
latest | LatestJson |
channelUrl | string |
webVersion | string |
nativeBuild | number |
Returns ​
WebBundle | null