refactor: use node scheme imports in default_app (#38847)
This commit is contained in:
parent
a595044989
commit
6bd02bf181
3 changed files with 16 additions and 8 deletions
|
@ -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;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue