NAME
PyonRelease — Install and Update, shared by every Pyon page
SYNOPSIS
const PyonRelease = (() => { … return { RELEASE, versionLine, say, install, installed, installLabel, reinstall, updateLabel, hasNewer, start }; })();DESCRIPTION
tools/build.py puts src/release.js, unchanged, in place of the /*RELEASE-JS*/ marker in the app, the welcome page, the manga and Kirakira Hop · Cubes, so that there is one copy of this code. Install uses the browser's own install offer where there is one (Chrome, Edge, Android) and otherwise shows the steps for the device. Update reinstalls the app inside itself on a tap; it changes nothing offline and never while a story plays; it also looks for a new release when the page opens, when it comes back to the screen and every half hour, and then offers "Update now". It never reloads by itself.
RETURN VALUE
An object with the functions on the other pages of this section, and RELEASE, the name of the release ("Pyon 1.0a1").
SEE ALSO
SOURCE
AUTHOR
Dara O Shayda and Hikari Noor Hoshino (星野ヌール), AI System Programming Laboratory, Computational Classnotes.
COPYRIGHT
© Computational Classnotes · CC BY-NC-SA 4.0
