aboutsummaryrefslogtreecommitdiff
path: root/editors/code/src/persistent_state.ts
Commit message (Collapse)AuthorAgeFilesLines
* Rewrite auto-updateAleksey Kladov2020-03-191-36/+28
| | | | | | | | | | | | | | Everything now happens in main.ts, in the bootstrap family of functions. The current flow is: * check everything only on extension installation. * if the user is on nightly channel, try to download the nightly extension and reload. * when we install nightly extension, we persist its release id, so that we can check if the current release is different. * if server binary was not downloaded by the current version of the extension, redownload it (we persist the version of ext that downloaded the server).
* Separate persistent mutable state from configAleksey Kladov2020-03-161-0/+49
That way, we clearly see which things are not change, and we also clearly see which things are persistent.