From 13927ee08e8706fc59cba9a3983358f4c29f794c Mon Sep 17 00:00:00 2001 From: Tuxinal <24763016+tuxinal@users.noreply.github.com> Date: Fri, 7 Feb 2025 14:28:50 +0330 Subject: [PATCH] =?UTF-8?q?Update=20lockfile=20properly=20Github=20merge?= =?UTF-8?q?=20ui=20is=20=F0=9F=92=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pnpm-lock.yaml | 10 ++++++++++ src/renderer/index.ts | 19 ------------------- 2 files changed, 10 insertions(+), 19 deletions(-) diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index a97c567..8a3034c 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -19,6 +19,9 @@ importers: electron-updater: specifier: ^6.3.9 version: 6.3.9 + venbind: + specifier: ^0.0.3 + version: 0.0.3 optionalDependencies: '@vencord/venmic': specifier: ^6.1.0 @@ -2877,6 +2880,11 @@ packages: util-deprecate@1.0.2: resolution: {integrity: sha512-EPD5q1uXyFxJpCrLnCc1nHnq3gOa6DZBocAIiI2TaSCA7VCJ1UJDMagCzIkXNsUYfD1daK//LTEQ8xiIbrHtcw==} + venbind@0.0.3: + resolution: {integrity: sha512-irlmr5Qeo9pSejGF5nATwzn5ramkEuJzjDMExrPA0p1DrNfFpUqyDsA05edUfHB2R4S9iyuILZG9zDQVKB3O3w==} + cpu: [x64] + os: [linux, win32] + verror@1.10.1: resolution: {integrity: sha512-veufcmxri4e3XSrT0xwfUR7kguIkaxBeosDg00yDWhk49wdwkSUrvvsm7nc75e1PUyvIeZj6nS8VQRYz2/S4Xg==} engines: {node: '>=0.6.0'} @@ -6159,6 +6167,8 @@ snapshots: util-deprecate@1.0.2: {} + venbind@0.0.3: {} + verror@1.10.1: dependencies: assert-plus: 1.0.0 diff --git a/src/renderer/index.ts b/src/renderer/index.ts index a00cd08..ca8aa82 100644 --- a/src/renderer/index.ts +++ b/src/renderer/index.ts @@ -18,9 +18,6 @@ import { VesktopLogger } from "./logger"; import { Settings } from "./settings"; export { Settings }; - -const InviteActions = findByPropsLazy("resolveInvite"); - export const keybindCallbacks: { [id: number]: { onTrigger: Function; @@ -31,22 +28,6 @@ export const keybindCallbacks: { }; } = {}; -export async function openInviteModal(code: string) { - const { invite } = await InviteActions.resolveInvite(code, "Desktop Modal"); - if (!invite) return false; - - VesktopNative.win.focus(); - - FluxDispatcher.dispatch({ - type: "INVITE_MODAL_OPEN", - invite, - code, - context: "APP" - }); - - return true; -} - VesktopLogger.log("read if cute :3"); VesktopLogger.log("Vesktop v" + VesktopNative.app.getVersion());