screaming out feibely, disgusting.
This commit is contained in:
parent
5dada52da5
commit
5789eb88a2
2 changed files with 449 additions and 301 deletions
4
main.js
4
main.js
|
@ -6,6 +6,7 @@ const { ElectronChromeExtensions } = require('electron-chrome-extensions')
|
|||
const { ElectronBlocker } = require('@cliqz/adblocker-electron');
|
||||
const http = require('http');
|
||||
const { createProxy } = require('proxy');
|
||||
const extensions = new ElectronChromeExtensions()
|
||||
|
||||
ipcMain.on('windowmaker', (event, arg) => {
|
||||
createWindow();
|
||||
|
@ -39,7 +40,6 @@ function isLocal(url) {
|
|||
|
||||
|
||||
function createWindow () {
|
||||
const extensions = new ElectronChromeExtensions()
|
||||
const mainWindow = new BrowserWindow({
|
||||
width: 1100,
|
||||
height: 600,
|
||||
|
@ -55,7 +55,7 @@ function createWindow () {
|
|||
}
|
||||
})
|
||||
|
||||
extensions.addTab(browserWindow.webContents, browserWindow)
|
||||
extensions.addTab(mainWindow.webContents, mainWindow)
|
||||
mainWindow.setMinimumSize(1000, 300)
|
||||
|
||||
|
||||
|
|
746
package-lock.json
generated
746
package-lock.json
generated
File diff suppressed because it is too large
Load diff
Loading…
Reference in a new issue