screaming out feibely, disgusting.

This commit is contained in:
The Ghost of FOSS' Past 2024-11-21 14:02:51 -06:00
parent 5dada52da5
commit 5789eb88a2
2 changed files with 449 additions and 301 deletions

View file

@ -6,6 +6,7 @@ const { ElectronChromeExtensions } = require('electron-chrome-extensions')
const { ElectronBlocker } = require('@cliqz/adblocker-electron'); const { ElectronBlocker } = require('@cliqz/adblocker-electron');
const http = require('http'); const http = require('http');
const { createProxy } = require('proxy'); const { createProxy } = require('proxy');
const extensions = new ElectronChromeExtensions()
ipcMain.on('windowmaker', (event, arg) => { ipcMain.on('windowmaker', (event, arg) => {
createWindow(); createWindow();
@ -39,7 +40,6 @@ function isLocal(url) {
function createWindow () { function createWindow () {
const extensions = new ElectronChromeExtensions()
const mainWindow = new BrowserWindow({ const mainWindow = new BrowserWindow({
width: 1100, width: 1100,
height: 600, height: 600,
@ -55,7 +55,7 @@ function createWindow () {
} }
}) })
extensions.addTab(browserWindow.webContents, browserWindow) extensions.addTab(mainWindow.webContents, mainWindow)
mainWindow.setMinimumSize(1000, 300) mainWindow.setMinimumSize(1000, 300)

746
package-lock.json generated

File diff suppressed because it is too large Load diff