Enable WebGPU support / Logging

This commit is contained in:
cryptofyre 2021-12-20 18:34:21 -06:00
parent 20c5cc630a
commit a5b2533596
3 changed files with 15 additions and 0 deletions

View file

@ -5,6 +5,10 @@ const {app} = require('electron');
const ElectronSentry = require("@sentry/electron");
ElectronSentry.init({dsn: "https://68c422bfaaf44dea880b86aad5a820d2@o954055.ingest.sentry.io/6112214"});
// Enable WebGPU and list adapters (EXPERIMENTAL.)
app.commandLine.appendSwitch('enable-unsafe-webgpu');
// Creating the Application Window and Calling all the Functions
function CreateWindow() {
if (app.isQuiting) { app.quit(); return; }