Skip to content

Commit

Permalink
remove electron-log
Browse files Browse the repository at this point in the history
  • Loading branch information
simon300000 committed Nov 11, 2019
1 parent 97b45ce commit 34bf7f0
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
"main": "index.js",
"dependencies": {
"ddatnodejs": "dd-center/DDatHome-nodejs",
"electron-log": "^3.0.9",
"electron-updater": "^4.1.2",
"level": "^6.0.0",
"moment": "^2.24.0"
Expand Down
3 changes: 1 addition & 2 deletions src/updater.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
const { autoUpdater } = require('electron-updater')
const log = require('electron-log')

autoUpdater.logger = log
autoUpdater.logger = console
autoUpdater.setFeedURL('https://dd.center/api/update/ddatelectron/')

module.exports = ({ state }) => {
Expand Down

0 comments on commit 34bf7f0

Please sign in to comment.