Browse Source

Merge remote-tracking branch 'origin/master'

# Conflicts:
#	packages/core/src/config/index.js
pull/67/head
xiaojunnuo 4 years ago
parent
commit
31a8ec5dd5
  1. 1
      packages/core/src/config/index.js
  2. 2
      packages/gui/src/bridge/update/backend.js

1
packages/core/src/config/index.js

@ -161,6 +161,7 @@ module.exports = {
} }
}, },
mapping: { mapping: {
'assets.fastgit.org': 'usa',
'*yarnpkg.com': 'usa', '*yarnpkg.com': 'usa',
'*cloudfront.net': 'usa', '*cloudfront.net': 'usa',
'*github.io': 'usa', '*github.io': 'usa',

2
packages/gui/src/bridge/update/backend.js

@ -95,7 +95,7 @@ function updateHandle (app, win, beforeQuit, updateUrl, log) {
export default { export default {
install (context) { install (context) {
const { app, win, beforeQuit, log } = context const { app, win, beforeQuit, log } = context
let updateUrl = 'https://dev-sidecar.docmirror.cn/update/' let updateUrl = 'http://dev-sidecar.docmirror.cn/update/'
if (process.env.NODE_ENV === 'development') { if (process.env.NODE_ENV === 'development') {
Object.defineProperty(app, 'isPackaged', { Object.defineProperty(app, 'isPackaged', {
get () { get () {

Loading…
Cancel
Save