From fa16e1b56f6de5c0c0af3e77a8ac7768e21f5654 Mon Sep 17 00:00:00 2001 From: V Date: Fri, 22 Sep 2023 15:58:29 +0200 Subject: [PATCH] fix updater --- scripts/build/build.mjs | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/scripts/build/build.mjs b/scripts/build/build.mjs index 97e50b983..c8978a4b3 100755 --- a/scripts/build/build.mjs +++ b/scripts/build/build.mjs @@ -25,6 +25,8 @@ const defines = { IS_STANDALONE: isStandalone, IS_DEV: JSON.stringify(watch), IS_UPDATER_DISABLED: updaterDisabled, + IS_WEB: false, + IS_EXTENSION: false, VERSION: JSON.stringify(VERSION), BUILD_TIMESTAMP, }; @@ -77,8 +79,6 @@ await Promise.all([ ], define: { ...defines, - IS_WEB: false, - IS_EXTENSION: false, IS_DISCORD_DESKTOP: true, IS_VESKTOP: false } @@ -124,8 +124,6 @@ await Promise.all([ ], define: { ...defines, - IS_WEB: false, - IS_EXTENSION: false, IS_DISCORD_DESKTOP: false, IS_VESKTOP: true }