mirror of
https://github.com/Equicord/Equicord.git
synced 2025-06-08 22:23:02 -04:00
fix updates?
This commit is contained in:
parent
c5212a5b8a
commit
c420d9dc09
2 changed files with 3 additions and 6 deletions
|
@ -229,7 +229,6 @@ await Promise.all([
|
|||
|
||||
await Promise.all([
|
||||
createPackage("dist/desktop", "dist/desktop.asar"),
|
||||
createPackage("dist/vesktop", "dist/equibop.asar"),
|
||||
createPackage("dist/vesktop", "dist/vesktop.asar")
|
||||
]);
|
||||
|
||||
|
@ -248,7 +247,6 @@ if (existsSync("dist/renderer.js")) {
|
|||
|
||||
await Promise.all([
|
||||
writeFile("dist/patcher.js", 'require("./desktop.asar")'),
|
||||
writeFile("dist/vencordDesktopMain.js", 'require("./equibop.asar")'),
|
||||
writeFile("dist/vencordDesktopMain.js", 'require("./vesktop.asar")')
|
||||
]);
|
||||
}
|
||||
|
|
|
@ -16,10 +16,9 @@
|
|||
* along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
export let ASAR_FILE;
|
||||
if (IS_VESKTOP) ASAR_FILE = "vesktop.asar";
|
||||
if (IS_EQUIBOP) ASAR_FILE = "equibop.asar";
|
||||
if (!IS_VESKTOP && !IS_EQUIBOP) "desktop.asar";
|
||||
export const ASAR_FILE = IS_VESKTOP
|
||||
? "vesktop.asar"
|
||||
: "desktop.asar";
|
||||
|
||||
export function serializeErrors(func: (...args: any[]) => any) {
|
||||
return async function () {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue