Distribution data is now pulled from our servers.
This commit is contained in:
6
index.js
6
index.js
@@ -1,5 +1,5 @@
|
||||
const {app, BrowserWindow, ipcMain} = require('electron')
|
||||
const autoUpdater = require("electron-updater").autoUpdater
|
||||
const autoUpdater = require('electron-updater').autoUpdater
|
||||
const isDev = require('electron-is-dev')
|
||||
const path = require('path')
|
||||
const url = require('url')
|
||||
@@ -50,6 +50,10 @@ ipcMain.on('autoUpdateAction', (event, arg) => {
|
||||
break
|
||||
}
|
||||
})
|
||||
// Redirect distribution index event from preloader to renderer.
|
||||
ipcMain.on('distributionIndexDone', (event, arg) => {
|
||||
event.sender.send('distributionIndexDone', arg)
|
||||
})
|
||||
|
||||
// Disable hardware acceleration.
|
||||
// https://electronjs.org/docs/tutorial/offscreen-rendering
|
||||
|
||||
Reference in New Issue
Block a user