Skip to content

Commit 08845e3

Browse files
Fix tool4D download name
1 parent 8fedba1 commit 08845e3

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

editor/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"license": "4D",
66
"publisher": "4D",
77
"icon": "images/4D-icon.png",
8-
"version": "0.2.0",
8+
"version": "0.2.1",
99
"preview": true,
1010
"repository": {
1111
"type": "git",

editor/src/apiManager.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -120,11 +120,11 @@ export class APIManager {
120120
}
121121
else if (type == "Darwin") {
122122
const arch = os.arch();
123-
url += `mac/tool4d_mac`;
123+
url += `mac/tool4d_`;
124124
if (arch === "arm" || arch === "arm64")
125-
url += "_arm";
125+
url += "arm64";
126126
else
127-
url += "_x86";
127+
url += "x86_64";
128128
url += ".tar.xz";
129129
}
130130
else if (type == "Windows_NT") {

0 commit comments

Comments
 (0)