Misskeyのバージョンもクライアントの環境変数に突っ込むように

This commit is contained in:
syuilo 2018-11-03 17:04:33 +09:00
parent e88f7ca7b2
commit 42a08642a4
No known key found for this signature in database
GPG key ID: BDC4C49D06AB9D69
10 changed files with 99 additions and 261 deletions

View file

@ -70,7 +70,8 @@ const output = {
const consts = {
_THEME_COLOR_: constants.themeColor,
_COPYRIGHT_: constants.copyright,
_VERSION_: version,
_VERSION_: meta.version,
_CLIENT_VERSION_: version,
_CODENAME_: codename,
_LANG_: '%lang%',
_LANGS_: Object.keys(locales).map(l => [l, locales[l].meta.lang]),