Skip to content

Commit 5230631

Browse files
authoredDec 10, 2021
Merge pull request #321 from alibaba/update-fun-download-url
fix: fix deploy error on windows with fun version 3.6.24
2 parents 23ebfcf + 200574f commit 5230631

File tree

4 files changed

+8
-1
lines changed

4 files changed

+8
-1
lines changed
 

‎CHANGELOG.md

+1
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
### Fixed
88

99
1. 修复 macOS Monterey 系统下,vscode 插件不可用问题
10+
2. 更新 funcraft win exe 的下载地址为 `https://funcraft-release.oss-accelerate.aliyuncs.com/fun/fun-v${FUN_VERSION}-win.exe.zip`
1011

1112
## 1.27.18 - 2021-09-26
1213

‎package-lock.json

+5
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎package.json

+1
Original file line numberDiff line numberDiff line change
@@ -742,6 +742,7 @@
742742
"@types/js-yaml": "^3.12.1",
743743
"@typescript-eslint/eslint-plugin": "^1.11.0",
744744
"@typescript-eslint/parser": "^1.11.0",
745+
"co": "^4.6.0",
745746
"cron-parser": "^2.13.0",
746747
"cronstrue": "^1.83.0",
747748
"dockerode": "^3.0.2",

‎src/utils/fun.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ class WindowsFunExecutorGenerator extends FunExecutorGenerator {
104104
}
105105
const funFileName = `fun-v${FUN_VERSION}-win.exe`;
106106
await new Promise((resolve, reject) => {
107-
download(`https://gosspublic.alicdn.com/fun/${funFileName}.zip`)
107+
download(`https://funcraft-release.oss-accelerate.aliyuncs.com/fun/${funFileName}.zip`)
108108
.pipe(unzipper.Parse())
109109
.on('entry', (entry) => {
110110
const fileName = entry.path;

0 commit comments

Comments
 (0)
Please sign in to comment.