Point to https mojang endpoint.

This commit is contained in:
Daniel Scalzi 2020-09-16 13:49:10 -04:00
parent faa5f5267b
commit 3ea41b42e5
No known key found for this signature in database
GPG Key ID: D18EA3FB4B142A57
3 changed files with 9 additions and 9 deletions

View File

@ -1331,7 +1331,7 @@ class AssetGuard extends EventEmitter {
return new Promise((resolve, reject) => {
//Asset constants
const resourceURL = 'http://resources.download.minecraft.net/'
const resourceURL = 'https://resources.download.minecraft.net/'
const localPath = path.join(self.commonPath, 'assets')
const objectPath = path.join(localPath, 'objects')

14
package-lock.json generated
View File

@ -995,9 +995,9 @@
}
},
"electron": {
"version": "10.1.1",
"resolved": "https://registry.npmjs.org/electron/-/electron-10.1.1.tgz",
"integrity": "sha512-ZJtZHMr17AvvBosuA6XUmpehwAlGM4/n46Mw9BcyD8tpgdI6IQd0X5OU9meE3X3M8Y6Ja2Kr2udTMgtjvot2hA==",
"version": "10.1.2",
"resolved": "https://registry.npmjs.org/electron/-/electron-10.1.2.tgz",
"integrity": "sha512-SvN8DcKCmPZ0UcQSNAJBfaUu+LGACqtRhUn1rW0UBLHgdbbDM76L0GU5/XGQEllH5pu5bwlCZwax3srzIl+Aeg==",
"dev": true,
"requires": {
"@electron/get": "^1.0.1",
@ -2561,13 +2561,13 @@
}
},
"roarr": {
"version": "2.15.3",
"resolved": "https://registry.npmjs.org/roarr/-/roarr-2.15.3.tgz",
"integrity": "sha512-AEjYvmAhlyxOeB9OqPUzQCo3kuAkNfuDk/HqWbZdFsqDFpapkTjiw+p4svNEoRLvuqNTxqfL+s+gtD4eDgZ+CA==",
"version": "2.15.4",
"resolved": "https://registry.npmjs.org/roarr/-/roarr-2.15.4.tgz",
"integrity": "sha512-CHhPh+UNHD2GTXNYhPWLnU8ONHdI+5DI+4EYIAOaiD63rHeYlZvyh8P+in5999TTSFgUYuKUAjzRI4mdh/p+2A==",
"dev": true,
"optional": true,
"requires": {
"boolean": "^3.0.0",
"boolean": "^3.0.1",
"detect-node": "^2.0.4",
"globalthis": "^1.0.1",
"json-stringify-safe": "^5.0.1",

View File

@ -41,7 +41,7 @@
},
"devDependencies": {
"cross-env": "^7.0.2",
"electron": "^10.1.1",
"electron": "^10.1.2",
"electron-builder": "^22.8.0",
"eslint": "^7.9.0"
},