Merge remote-tracking branch 'origin/master'
# Conflicts: # packages/core/src/config/index.jspull/67/head
commit
31a8ec5dd5
|
@ -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',
|
||||||
|
|
|
@ -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…
Reference in New Issue