Skip to content

Commit 7f29ca6

Browse files
Ladvaceblarfoon
andauthored
test error reset settings (#1431)
* test * test with only cache wiping enabled Co-authored-by: Davide <davide.ceschia@gmail.com>
1 parent cdae501 commit 7f29ca6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

public/electron.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -646,7 +646,7 @@ ipcMain.handle('download-optedout-mod', async (e, { url, filePath }) => {
646646
let win = new BrowserWindow();
647647

648648
await win.webContents.session.clearCache();
649-
await win.webContents.session.clearStorageData();
649+
// await win.webContents.session.clearStorageData();
650650

651651
win.webContents.session.webRequest.onBeforeSendHeaders(removeOriginHeader);
652652

@@ -742,7 +742,7 @@ ipcMain.handle('download-optedout-mods', async (e, { mods, instancePath }) => {
742742
let win = new BrowserWindow();
743743

744744
await win.webContents.session.clearCache();
745-
await win.webContents.session.clearStorageData();
745+
// await win.webContents.session.clearStorageData();
746746

747747
win.webContents.session.webRequest.onBeforeSendHeaders(removeOriginHeader);
748748

0 commit comments

Comments
 (0)