aboutsummaryrefslogtreecommitdiff
path: root/scripts/build
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/build')
-rwxr-xr-xscripts/build/build.mjs12
-rw-r--r--scripts/build/buildWeb.mjs2
2 files changed, 7 insertions, 7 deletions
diff --git a/scripts/build/build.mjs b/scripts/build/build.mjs
index 59056b1..e044378 100755
--- a/scripts/build/build.mjs
+++ b/scripts/build/build.mjs
@@ -58,7 +58,7 @@ await Promise.all([
define: {
...defines,
IS_DISCORD_DESKTOP: true,
- IS_VENCORD_DESKTOP: false
+ IS_VESKTOP: false
}
}),
esbuild.build({
@@ -78,7 +78,7 @@ await Promise.all([
...defines,
IS_WEB: false,
IS_DISCORD_DESKTOP: true,
- IS_VENCORD_DESKTOP: false
+ IS_VESKTOP: false
}
}),
esbuild.build({
@@ -90,7 +90,7 @@ await Promise.all([
define: {
...defines,
IS_DISCORD_DESKTOP: true,
- IS_VENCORD_DESKTOP: false
+ IS_VESKTOP: false
}
}),
@@ -104,7 +104,7 @@ await Promise.all([
define: {
...defines,
IS_DISCORD_DESKTOP: false,
- IS_VENCORD_DESKTOP: true
+ IS_VESKTOP: true
}
}),
esbuild.build({
@@ -124,7 +124,7 @@ await Promise.all([
...defines,
IS_WEB: false,
IS_DISCORD_DESKTOP: false,
- IS_VENCORD_DESKTOP: true
+ IS_VESKTOP: true
}
}),
esbuild.build({
@@ -136,7 +136,7 @@ await Promise.all([
define: {
...defines,
IS_DISCORD_DESKTOP: false,
- IS_VENCORD_DESKTOP: true
+ IS_VESKTOP: true
}
}),
]).catch(err => {
diff --git a/scripts/build/buildWeb.mjs b/scripts/build/buildWeb.mjs
index 5c1cc78..434d176 100644
--- a/scripts/build/buildWeb.mjs
+++ b/scripts/build/buildWeb.mjs
@@ -45,7 +45,7 @@ const commonOptions = {
IS_STANDALONE: "true",
IS_DEV: JSON.stringify(watch),
IS_DISCORD_DESKTOP: "false",
- IS_VENCORD_DESKTOP: "false",
+ IS_VESKTOP: "false",
VERSION: JSON.stringify(VERSION),
BUILD_TIMESTAMP: Date.now(),
}