Merge remote-tracking branch 'origin/master'

pull/88/head 1.6.0
xiaojunnuo 2021-08-18 23:52:59 +08:00
commit ed239377ec
2 changed files with 12 additions and 12 deletions

View File

@ -212,18 +212,18 @@ module.exports = {
// 'assets.fastgit.org': 'usa',
'*amazonaws.com': 'quad9',
'*githubusercontent.com': 'quad9',
'*yarnpkg.com': 'usa',
'*cloudfront.net': 'usa',
'*github.io': 'usa',
'img.shields.io': 'usa',
'*.githubusercontent.com': 'usa',
'*.githubassets.com': 'usa',
'*yarnpkg.com': 'quad9',
'*cloudfront.net': 'quad9',
'*github.io': 'quad9',
'img.shields.io': 'quad9',
'*.githubusercontent.com': 'quad9',
'*.githubassets.com': 'quad9',
// "解决push的时候需要输入密码的问题",
'github.com': 'quad9',
'*github.com': 'usa',
'*.vuepress.vuejs.org': 'usa',
'gh.docmirror.top': 'aliyun',
'*cloudflare.com': 'usa',
'*github.com': 'quad9',
'*.vuepress.vuejs.org': 'quad9',
'gh.docmirror.top': 'quad9',
'*cloudflare.com': 'quad9',
'*v2ex.com': 'quad9'
},
speedTest: {

View File

@ -9,11 +9,11 @@ const executor = {
return true
},
async linux (exec, { port }) {
await exec('kill `lsof -i:' + port + " |grep 'dev-sidecar\\|electron' |awk '{print $2}'`")
await exec('kill `lsof -i:' + port + " |grep 'dev-sidecar\\|electron\\|@docmirro' |awk '{print $2}'`")
return true
},
async mac (exec, { port }) {
await exec('kill `lsof -i:' + port + " |grep 'DevSide\\|Elect' |awk '{print $2}'`")
await exec('kill `lsof -i:' + port + " |grep 'dev-side\\|Elect' |awk '{print $2}'`")
return true
}
}