remove legacy vencorddesktop aliases

This commit is contained in:
Vendicated
2023-10-21 22:25:16 +02:00
parent 573a953a2f
commit 7b0f64a9fc
3 changed files with 1 additions and 12 deletions

View File

@@ -71,11 +71,7 @@ await Promise.all([
tsconfig: "./scripts/build/tsconfig.esbuild.json",
external: ["@vencord/types/*"],
plugins: [vencordDep],
// TODO: remove legacy name once main Vencord codebase has migrated and some time has passed.
// this 0 is very important. we run this script via webFrame.executeJavaScript and the last
// expression will be the return value. Without the 0, the return value would be Vesktop which
// leads to "An object could not be cloned"
footer: { js: ";window.VencordDesktop=Vesktop;0 \n//# sourceURL=VCDRenderer" }
footer: { js: "//# sourceURL=VCDRenderer" }
})
]);