|
|
|
@ -3,7 +3,6 @@ const fs = require('fs');
|
|
|
|
|
const mkdirp = require('mkdirp');
|
|
|
|
|
const Module = require('module');
|
|
|
|
|
const { execFile } = require('child_process');
|
|
|
|
|
const { Readable, Writable } = require('stream');
|
|
|
|
|
const zlib = require('zlib');
|
|
|
|
|
|
|
|
|
|
const paths = require('../paths');
|
|
|
|
@ -51,7 +50,7 @@ exports.init = (endpoint, { releaseChannel, version }) => {
|
|
|
|
|
try {
|
|
|
|
|
installed = JSON.parse(fs.readFileSync(manifestPath));
|
|
|
|
|
} catch {
|
|
|
|
|
for (const m of [ 'desktop_core', 'utils', 'voice' ]) { // Ignore actual bootstrap manifest and choose our own core 3, others are installed as/when needed
|
|
|
|
|
for (const m of [ 'desktop_core', 'utils' ]) { // Ignore actual bootstrap manifest and choose our own core 3, others are installed as/when needed
|
|
|
|
|
installed['discord_' + m] = { installedVersion: 0 }; // Set initial version as 0
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|