This commit is contained in:
Opportunity
2019-09-30 20:02:36 +08:00
Unverified
parent 7b6710e12b
commit 5259c2cc9d
+1 -1
View File
@@ -31,7 +31,7 @@ async function download(sha) {
console.log(folder) console.log(folder)
const repo = git(folder) const repo = git(folder)
await repo.init() await repo.init()
await repo.addRemote('origin', 'https://gitee.com/tboox/xmake.git'); await repo.addRemote('origin', 'https://github.com/xmake-io/xmake.git');
await repo.fetch() await repo.fetch()
await repo.checkout(sha) await repo.checkout(sha)
await repo.submoduleUpdate(['--init', '--recursive']) await repo.submoduleUpdate(['--init', '--recursive'])