removed proc title and prettified voice actions calls

This commit is contained in:
Oleh Polisan 2024-06-02 00:26:51 +03:00
parent d37f07cedb
commit cdbc00b3e5
2 changed files with 2 additions and 7 deletions

View file

@ -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();

View file

@ -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());