refactor: use node scheme imports in default_app (#38847)

This commit is contained in:
Milan Burda 2023-06-20 23:17:03 +02:00 committed by GitHub
parent a595044989
commit 6bd02bf181
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 16 additions and 8 deletions

View file

@ -1,7 +1,7 @@
import { shell } from 'electron/common';
import { app, dialog, BrowserWindow, ipcMain } from 'electron/main';
import * as path from 'path';
import * as url from 'url';
import * as path from 'node:path';
import * as url from 'node:url';
let mainWindow: BrowserWindow | null = null;