Make updating work for both binary and loose releases

This commit is contained in:
Asher
2020-02-20 15:50:01 -06:00
parent 815dc06118
commit 319cd3f7ab
5 changed files with 357 additions and 29 deletions

View File

@ -40,20 +40,23 @@ export class SettingsProvider<T> {
}
}
/**
* Global code-server settings.
*/
export interface CoderSettings {
lastVisited: {
url: string
workspace: boolean
}
export interface UpdateSettings {
update: {
checked: number
version: string
}
}
/**
* Global code-server settings.
*/
export interface CoderSettings extends UpdateSettings {
lastVisited: {
url: string
workspace: boolean
}
}
/**
* Global code-server settings file.
*/