From 6b26c12bfa1f28d40834478b50d2f7b09c9f54fb Mon Sep 17 00:00:00 2001 From: V Date: Tue, 4 Apr 2023 01:16:29 +0200 Subject: Add additional build flavours for Vencord Desktop (#765) --- src/webpack/webpack.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/webpack/webpack.ts') diff --git a/src/webpack/webpack.ts b/src/webpack/webpack.ts index 0d95587..a37fe6d 100644 --- a/src/webpack/webpack.ts +++ b/src/webpack/webpack.ts @@ -67,7 +67,7 @@ export function _initWebpack(instance: typeof window.webpackChunkdiscord_app) { instance.pop(); } -if (IS_DEV && !IS_WEB) { +if (IS_DEV && IS_DISCORD_DESKTOP) { var devToolsOpen = false; // At this point in time, DiscordNative has not been exposed yet, so setImmediate is needed setTimeout(() => { -- cgit