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.jspull/303/head
commit
c79ace09cc
|
@ -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) {
|
||||
|
|
|
@ -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>
|
||||
}
|
||||
})
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue