mirror of
https://github.com/Myxelium/Bridge-Multi.git
synced 2026-04-11 06:09:39 +00:00
Removed dotenv
This commit is contained in:
@@ -36,7 +36,6 @@
|
||||
"@angular/router": "~9.1.4",
|
||||
"cli-color": "^2.0.0",
|
||||
"comparators": "^3.0.2",
|
||||
"dotenv": "^8.2.0",
|
||||
"electron-unhandled": "^3.0.2",
|
||||
"electron-updater": "^4.3.1",
|
||||
"electron-window-state": "^5.0.3",
|
||||
|
||||
@@ -23,7 +23,6 @@ class UpdateChecker {
|
||||
|
||||
private registerUpdaterListeners() {
|
||||
autoUpdater.on('error', (err: Error) => {
|
||||
console.log('token:', process.env.GH_TOKEN)
|
||||
console.log('error callback', err)
|
||||
emitIPCEvent('update-error', err)
|
||||
})
|
||||
|
||||
@@ -2,7 +2,6 @@ import { app, BrowserWindow, ipcMain } from 'electron'
|
||||
import * as windowStateKeeper from 'electron-window-state'
|
||||
import * as path from 'path'
|
||||
import * as url from 'url'
|
||||
require('dotenv').config()
|
||||
require('electron-unhandled')({ showDialog: true })
|
||||
|
||||
// IPC Handlers
|
||||
|
||||
Reference in New Issue
Block a user