Enable WebGPU support / Logging
This commit is contained in:
parent
20c5cc630a
commit
a5b2533596
3 changed files with 15 additions and 0 deletions
4
index.js
4
index.js
|
@ -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; }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue