Added flatpak check (Credit to seby)

Moved platform to cfg.main.PLATFORM
Made environment vars accessible from cfg.main.ENV
Moved update check to cfg.main.UPDATABLE
This commit is contained in:
Core 2022-03-29 23:56:34 +01:00
parent 023843c375
commit 0eb59d1119
No known key found for this signature in database
GPG key ID: FE9BF1B547F8F3C6
4 changed files with 16 additions and 13 deletions

View file

@ -604,7 +604,7 @@ const app = new Vue({
document.body.classList.add("no-gpu")
}
this.mk._services.timing.mode = 0
this.platform = ipcRenderer.sendSync('cider-platform');
this.platform = this.cfg.main.PLATFORM
this.mklang = await this.MKJSLang()