chore: fix minor script warnings (#25575)
This commit is contained in:
parent
353c63e47a
commit
515e85079f
7 changed files with 8 additions and 15 deletions
|
@ -2,7 +2,7 @@
|
|||
process.throwDeprecation = false;
|
||||
|
||||
const electron = require('electron');
|
||||
const { app, BrowserWindow, dialog, ipcMain, protocol, webContents, session } = electron;
|
||||
const { app, BrowserWindow, dialog, ipcMain, session } = electron;
|
||||
|
||||
try {
|
||||
require('fs').rmdirSync(app.getPath('userData'), { recursive: true });
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue