aboutsummaryrefslogtreecommitdiff
path: root/scripts/build/build.mjs
diff options
context:
space:
mode:
authorV <vendicated@riseup.net>2023-09-22 15:58:29 +0200
committerV <vendicated@riseup.net>2023-09-22 15:58:29 +0200
commitfa16e1b56f6de5c0c0af3e77a8ac7768e21f5654 (patch)
treec9bdf287a345d9e3ec1ca82de04e85a69311dfa4 /scripts/build/build.mjs
parentcfca393f2be3edcd832dc2194f7022164f4ea857 (diff)
downloadVencord-fa16e1b56f6de5c0c0af3e77a8ac7768e21f5654.tar.gz
Vencord-fa16e1b56f6de5c0c0af3e77a8ac7768e21f5654.tar.bz2
Vencord-fa16e1b56f6de5c0c0af3e77a8ac7768e21f5654.zip
fix updater
Diffstat (limited to 'scripts/build/build.mjs')
-rwxr-xr-xscripts/build/build.mjs6
1 files changed, 2 insertions, 4 deletions
diff --git a/scripts/build/build.mjs b/scripts/build/build.mjs
index 97e50b9..c8978a4 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
}