Skip to content

Commit

Permalink
Merge pull request #321 from alibaba/update-fun-download-url
Browse files Browse the repository at this point in the history
fix: fix deploy error on windows with fun version 3.6.24
  • Loading branch information
rsonghuster authored Dec 10, 2021
2 parents 23ebfcf + 200574f commit 5230631
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
### Fixed

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

## 1.27.18 - 2021-09-26

Expand Down
5 changes: 5 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -742,6 +742,7 @@
"@types/js-yaml": "^3.12.1",
"@typescript-eslint/eslint-plugin": "^1.11.0",
"@typescript-eslint/parser": "^1.11.0",
"co": "^4.6.0",
"cron-parser": "^2.13.0",
"cronstrue": "^1.83.0",
"dockerode": "^3.0.2",
Expand Down
2 changes: 1 addition & 1 deletion src/utils/fun.ts
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ class WindowsFunExecutorGenerator extends FunExecutorGenerator {
}
const funFileName = `fun-v${FUN_VERSION}-win.exe`;
await new Promise((resolve, reject) => {
download(`https://gosspublic.alicdn.com/fun/${funFileName}.zip`)
download(`https://funcraft-release.oss-accelerate.aliyuncs.com/fun/${funFileName}.zip`)
.pipe(unzipper.Parse())
.on('entry', (entry) => {
const fileName = entry.path;
Expand Down

0 comments on commit 5230631

Please sign in to comment.