From cdbc00b3e51691c11c2c1c34bb41e819dbe198fd Mon Sep 17 00:00:00 2001 From: Oleh Polisan Date: Sun, 2 Jun 2024 00:26:51 +0300 Subject: [PATCH] removed proc title and prettified voice actions calls --- src/main/mainWindow.ts | 1 - src/renderer/index.ts | 8 ++------ 2 files changed, 2 insertions(+), 7 deletions(-) diff --git a/src/main/mainWindow.ts b/src/main/mainWindow.ts index 583484c..2626709 100644 --- a/src/main/mainWindow.ts +++ b/src/main/mainWindow.ts @@ -469,7 +469,6 @@ const runVencordMain = once(() => require(join(VENCORD_FILES_DIR, "vencordDeskto export async function createWindows() { const startMinimized = process.argv.includes("--start-minimized"); const splash = createSplashWindow(startMinimized); - process.title = "Vesktop"; // SteamOS letterboxes and scales it terribly, so just full screen it if (isDeckGameMode) splash.setFullScreen(true); await ensureVencordFiles(); diff --git a/src/renderer/index.ts b/src/renderer/index.ts index a0b3c1f..10cd7d6 100644 --- a/src/renderer/index.ts +++ b/src/renderer/index.ts @@ -62,10 +62,6 @@ VesktopNative.arrpc.onActivity(async data => { const VoiceActions = findByPropsLazy("toggleSelfMute"); -VesktopNative.voice.onToggleSelfMute(() => { - VoiceActions.toggleSelfMute(); -}); +VesktopNative.voice.onToggleSelfMute(() => VoiceActions.toggleSelfMute()); -VesktopNative.voice.onToggleSelfDeaf(() => { - VoiceActions.toggleSelfDeaf(); -}); +VesktopNative.voice.onToggleSelfDeaf(() => VoiceActions.toggleSelfDeaf());