Skip to content

Commit

Permalink
fullChangelog
Browse files Browse the repository at this point in the history
  • Loading branch information
npmrun committed Jun 5, 2023
1 parent 8663a57 commit 3ec1cb2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/main-module/updater/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import logger from "electron-log"
let autoUpdater: NsisUpdater

export function initUpdate(): void {
if (!app.isPackaged) return
// if (!app.isPackaged) return

let owner = Settings.n.values("update.owner")
let repo = Settings.n.values("update.repo")
Expand All @@ -17,6 +17,7 @@ export function initUpdate(): void {
repo: repo,
owner: owner,
})
autoUpdater.fullChangelog = true
const log = logger._createLog("updater").log
autoUpdater.logger = log
// 开始检查更新
Expand Down

0 comments on commit 3ec1cb2

Please sign in to comment.