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

@ -616,10 +616,6 @@ export class BrowserWindow {
event.returnValue = wpData;
})
ipcMain.on("cider-platform", (event) => {
event.returnValue = process.platform;
});
ipcMain.handle("reinstall-widevine-cdm", () => {
// remove WidevineCDM from appdata folder
const widevineCdmPath = join(app.getPath("userData"), "./WidevineCdm");