diff --git a/package-lock.json b/package-lock.json index bd754e5..6d129fa 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "destrostudios", - "version": "1.1.5", + "version": "1.1.6", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/package.json b/package.json index abb1057..b36f9c3 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "destrostudios", - "version": "1.1.5", + "version": "1.1.6", "description": "destrostudios cross-game launcher, offering the possibility to login, download, update and start games.", "author": "destrostudios", "license": "MIT", diff --git a/src/main/local-apps.js b/src/main/local-apps.js index f8bf262..77b319e 100644 --- a/src/main/local-apps.js +++ b/src/main/local-apps.js @@ -93,7 +93,9 @@ function downloadFile(url, destination, downloadedBytesCallback, finishedCallbac createDirectoryIfNotExisting(destination); const file = fs.createWriteStream(destination); console.log('Downloading file: "' + url + '" --> "' + destination + '"'); - https.get(url, response => { + // FIXME: LetsEncrypt deprecated their old root certificate (https://letsencrypt.org/docs/dst-root-ca-x3-expiration-september-2021) + // The currently used electron-builder version still has an old electron dependency of 11.X - When we have 13.X with the fix, the rejectUnauthorized workaround can be removed + https.get(url, { rejectUnauthorized: false }, response => { response.on('data', chunk => { file.write(chunk); downloadedBytesCallback(chunk.length); diff --git a/src/package.json b/src/package.json index ecd7c34..5e228af 100644 --- a/src/package.json +++ b/src/package.json @@ -1,6 +1,6 @@ { "name": "destrostudios", - "version": "1.1.5", + "version": "1.1.6", "description": "Destrostudios cross-game launcher, offering the possibility to login, download, update and start games.", "author": "destrostudios", "main": "electron-main.js",