moduleUpdater: don't defer voice module
This commit is contained in:
parent
d1f9fe0024
commit
ad9b161744
2 changed files with 1 additions and 3 deletions
|
@ -65,8 +65,6 @@ injCSS(`<css>`);
|
|||
|
||||
openasar = {}; // Define global for any mods which want to know / etc
|
||||
|
||||
DiscordNative.nativeModules.ensureModule('discord_voice'); // Ensure discord_voice to generally prevent corruption message / broken VC, also for deferring for fresh start
|
||||
|
||||
setInterval(() => { // Try init themesync
|
||||
try {
|
||||
themesync();
|
||||
|
|
|
@ -65,7 +65,7 @@ exports.init = (endpoint, { releaseChannel, version }) => {
|
|||
try {
|
||||
installed = JSON.parse(fs.readFileSync(manifestPath));
|
||||
} catch {
|
||||
for (const m of [ 'desktop_core', 'utils' ]) { // Ignore actual bootstrap manifest and choose our own core 2, others are deferred
|
||||
for (const m of [ 'desktop_core', 'utils', 'voice' ]) { // Ignore actual bootstrap manifest and choose our own core set, others are deferred
|
||||
installed['discord_' + m] = { installedVersion: 0 }; // Set initial version as 0
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue