Skip to content

Commit

Permalink
[unity]update v8 url
Browse files Browse the repository at this point in the history
  • Loading branch information
chexiongsheng committed Apr 30, 2024
1 parent cd2b8e5 commit b5b3c92
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
3 changes: 3 additions & 0 deletions unity/cli/make.mts
Original file line number Diff line number Diff line change
Expand Up @@ -198,6 +198,9 @@ async function runPuertsMake(cwd: string, options: BuildOptions) {
console.error("[Puer] CMake is not installed");
process.exit();
}
if (options.backend == "v8_9.4") {
options.backend = "v8_9.4.146.24"
}
if (!existsSync(`${cwd}/.backends/${options.backend}`)) {
await downloadBackend(cwd, options.backend);
}
Expand Down
6 changes: 3 additions & 3 deletions unity/native_src/cmake/backends.json
Original file line number Diff line number Diff line change
Expand Up @@ -204,8 +204,8 @@
}
}
},
"v8_9.4": {
"url": "https://github.com/puerts/backend-v8/releases/download/V8_9.4.146.24_230822/v8_bin_9.4.146.24.tgz",
"v8_9.4.146.24": {
"url": "'https://github.com/puerts/backend-v8/releases/download/V8_9.4.146.24_240430_Manual/v8_bin_9.4.146.24.tgz",
"config": {
"definition": [
"V8_94_OR_NEWER"
Expand Down Expand Up @@ -257,7 +257,7 @@
}
},
"v8_10.6.194": {
"url": "https://github.com/puerts/backend-v8/releases/download/V8_10.6.194_240428/v8_bin_10.6.194.tgz",
"url": "https://github.com/puerts/backend-v8/releases/download/V8_10.6.194_240429/v8_bin_10.6.194.tgz",
"config": {
"definition": [
"V8_94_OR_NEWER"
Expand Down

0 comments on commit b5b3c92

Please sign in to comment.