diff --git a/scripts/build/build.mts b/scripts/build/build.mts index 7b26dd0..3ca12f4 100644 --- a/scripts/build/build.mts +++ b/scripts/build/build.mts @@ -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" } }) ]); diff --git a/src/preload/index.ts b/src/preload/index.ts index 6eb36fa..2cc0d11 100644 --- a/src/preload/index.ts +++ b/src/preload/index.ts @@ -11,8 +11,6 @@ import { IpcEvents } from "../shared/IpcEvents"; import { VesktopNative } from "./VesktopNative"; contextBridge.exposeInMainWorld("VesktopNative", VesktopNative); -// TODO: remove legacy alias once main Vencord codebase has migrated and some time has passed -contextBridge.exposeInMainWorld("VencordDesktopNative", VesktopNative); require(ipcRenderer.sendSync(IpcEvents.GET_VENCORD_PRELOAD_FILE)); diff --git a/src/renderer/hideGarbage.css b/src/renderer/hideGarbage.css index cbc1921..a820403 100644 --- a/src/renderer/hideGarbage.css +++ b/src/renderer/hideGarbage.css @@ -3,8 +3,3 @@ [class|=listItem]:has(+ [class|=listItem] [data-list-item-id=guildsnav___app-download-button]) { display: none; } - -/* FIXME: Remove after 23/08/23 */ -.vc-desktop-settings { - display: none; -}