settings: add buttons to open chrome://gpu & webrtc-internals

This commit is contained in:
Vendicated
2025-01-24 01:09:25 +01:00
parent 53913c07bf
commit 030ffca499
6 changed files with 70 additions and 8 deletions

View File

@@ -78,5 +78,9 @@ export const VesktopNative = {
clipboard: {
copyImage: (imageBuffer: Uint8Array, imageSrc: string) =>
invoke<void>(IpcEvents.CLIPBOARD_COPY_IMAGE, imageBuffer, imageSrc)
},
debug: {
launchGpu: () => invoke<void>(IpcEvents.DEBUG_LAUNCH_GPU),
launchWebrtcInternals: () => invoke<void>(IpcEvents.DEBUG_LAUNCH_WEBRTC_INTERNALS)
}
};