Merge remote-tracking branch 'upstream/master' into feature-update-by-github

# Conflicts:
#	packages/gui/src/bridge/update/backend.js
#	packages/gui/src/bridge/update/front.js
pull/303/head
王良 2024-04-23 16:10:44 +08:00
commit c79ace09cc
2 changed files with 2 additions and 4 deletions

View File

@ -178,7 +178,7 @@ function updateHandle (app, api, win, beforeQuit, quit, log) {
function downloadPart (app, value) {
const appPath = appPathUtil.getAppRootPath(app)
const fileDir = path.join(appPath, 'update')
log.info('download dir', fileDir)
log.info('download dir:', fileDir)
try {
fs.accessSync(fileDir, fs.constants.F_OK)
} catch (e) {

View File

@ -72,9 +72,7 @@ function install (app, api) {
function openGithubUrl () {
api.ipc.openExternal('https://github.com/docmirror/dev-sidecar/releases')
}
return <div>
<div>请前往 <a onClick={openGithubUrl}>github项目release页面</a> </div>
</div>
return <div>请前往 <a onClick={openGithubUrl}>github项目release页面</a> </div>
}
})
}