File tree Expand file tree Collapse file tree 1 file changed +6
-3
lines changed
src/vscode/superbol-vscode-platform Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -44,13 +44,16 @@ let find_superbol root =
44
44
let open Node.Process in
45
45
let prefix = " superbol-free" in
46
46
let suffix = if platform == " win32" then " .exe" else " " in
47
- Vscode.Uri. fsPath @@ find_existing @@ List. map (fun name ->
47
+ Vscode.Uri. fsPath @@ find_existing @@
48
+ List. map (fun name ->
48
49
Vscode.Uri. joinPath root ~path Segments:[name]) @@ [
49
50
Format. asprintf " %s-%s-%s%s" prefix platform arch suffix;
50
51
Format. asprintf " %s-%s%s" prefix platform suffix;
51
52
Format. asprintf " %s%s" prefix suffix
52
- ]
53
-
53
+ ] @ if platform = " darwin" && arch = " arm64" then
54
+ [ Format. sprintf " %s-%s-%s%s" prefix platform " x64" suffix]
55
+ else
56
+ []
54
57
55
58
let scan_host_and_port url =
56
59
let fail () = Format. ksprintf failwith " Invalid %S" url in
You can’t perform that action at this time.
0 commit comments