about summary refs log tree commit diff
path: root/pkgs/by-name/we/webcord-vencord/add-extension.patch
blob: 888dad1eee11c73f312810e54a6850256b03e44b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
diff --git a/sources/code/common/main.ts b/sources/code/common/main.ts
index 3936ee0..bd745ef 100644
--- a/sources/code/common/main.ts
+++ b/sources/code/common/main.ts
@@ -358,6 +358,7 @@ app.userAgentFallback = getUserAgent(process.versions.chrome, userAgent.mobile,
 const singleInstance = app.requestSingleInstanceLock();
 
 function main(): void {
+  session.defaultSession.loadExtension("@vencord@");
   if (overwriteMain) {
     // Execute flag-specific functions for ready application.
     overwriteMain();