mirror of
https://github.com/CringeStudios/element-desktop.git
synced 2025-01-18 23:44:59 +01:00
PUB_KEY_URL
This commit is contained in:
parent
ecbaf144b2
commit
51227abd2a
@ -10,7 +10,7 @@ const tar = require('tar');
|
|||||||
|
|
||||||
const riotDesktopPackageJson = require('../package.json');
|
const riotDesktopPackageJson = require('../package.json');
|
||||||
|
|
||||||
const PUBKEYURL = "https://packages.riot.im/riot-release-key.asc";
|
const PUB_KEY_URL = "https://packages.riot.im/riot-release-key.asc";
|
||||||
const PACKAGE_URL_PREFIX = "https://github.com/vector-im/riot-web/releases/download/";
|
const PACKAGE_URL_PREFIX = "https://github.com/vector-im/riot-web/releases/download/";
|
||||||
|
|
||||||
async function downloadToFile(url, filename) {
|
async function downloadToFile(url, filename) {
|
||||||
@ -105,7 +105,7 @@ async function main() {
|
|||||||
}
|
}
|
||||||
resolve(!error);
|
resolve(!error);
|
||||||
});
|
});
|
||||||
https.get(PUBKEYURL, (resp) => {
|
https.get(PUB_KEY_URL, (resp) => {
|
||||||
resp.on('data', (chunk) => {
|
resp.on('data', (chunk) => {
|
||||||
gpgProc.stdin.write(chunk);
|
gpgProc.stdin.write(chunk);
|
||||||
});
|
});
|
||||||
|
Loading…
Reference in New Issue
Block a user