Skip to content

Commit

Permalink
Fix Let's Encrypt DST Root CA X3 certificate expiration.
Browse files Browse the repository at this point in the history
  • Loading branch information
dscalzi committed Oct 2, 2021
1 parent 54e6572 commit f9e4fd8
Show file tree
Hide file tree
Showing 3 changed files with 238 additions and 349 deletions.
7 changes: 4 additions & 3 deletions index.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
require('@electron/remote/main').initialize()
const remoteMain = require('@electron/remote/main')
remoteMain.initialize()

// Requirements
const { app, BrowserWindow, ipcMain, Menu } = require('electron')
Expand Down Expand Up @@ -104,11 +105,11 @@ function createWindow() {
webPreferences: {
preload: path.join(__dirname, 'app', 'assets', 'js', 'preloader.js'),
nodeIntegration: true,
contextIsolation: false,
enableRemoteModule: true
contextIsolation: false
},
backgroundColor: '#171614'
})
remoteMain.enable(win.webContents)

ejse.data('bkid', Math.floor((Math.random() * fs.readdirSync(path.join(__dirname, 'app', 'assets', 'images', 'backgrounds')).length)))

Expand Down
Loading

0 comments on commit f9e4fd8

Please sign in to comment.