removed proc title and prettified voice actions calls
This commit is contained in:
		
							parent
							
								
									d37f07cedb
								
							
						
					
					
						commit
						cdbc00b3e5
					
				
					 2 changed files with 2 additions and 7 deletions
				
			
		|  | @ -469,7 +469,6 @@ const runVencordMain = once(() => require(join(VENCORD_FILES_DIR, "vencordDeskto | ||||||
| export async function createWindows() { | export async function createWindows() { | ||||||
|     const startMinimized = process.argv.includes("--start-minimized"); |     const startMinimized = process.argv.includes("--start-minimized"); | ||||||
|     const splash = createSplashWindow(startMinimized); |     const splash = createSplashWindow(startMinimized); | ||||||
|     process.title = "Vesktop"; |  | ||||||
|     // SteamOS letterboxes and scales it terribly, so just full screen it
 |     // SteamOS letterboxes and scales it terribly, so just full screen it
 | ||||||
|     if (isDeckGameMode) splash.setFullScreen(true); |     if (isDeckGameMode) splash.setFullScreen(true); | ||||||
|     await ensureVencordFiles(); |     await ensureVencordFiles(); | ||||||
|  |  | ||||||
|  | @ -62,10 +62,6 @@ VesktopNative.arrpc.onActivity(async data => { | ||||||
| 
 | 
 | ||||||
| const VoiceActions = findByPropsLazy("toggleSelfMute"); | const VoiceActions = findByPropsLazy("toggleSelfMute"); | ||||||
| 
 | 
 | ||||||
| VesktopNative.voice.onToggleSelfMute(() => { | VesktopNative.voice.onToggleSelfMute(() => VoiceActions.toggleSelfMute()); | ||||||
|     VoiceActions.toggleSelfMute(); |  | ||||||
| }); |  | ||||||
| 
 | 
 | ||||||
| VesktopNative.voice.onToggleSelfDeaf(() => { | VesktopNative.voice.onToggleSelfDeaf(() => VoiceActions.toggleSelfDeaf()); | ||||||
|     VoiceActions.toggleSelfDeaf(); |  | ||||||
| }); |  | ||||||
|  |  | ||||||
		Loading…
	
		Reference in a new issue
	
	 Oleh Polisan
						Oleh Polisan