Skip to content

Commit

Permalink
code: Release 0.13.3
Browse files Browse the repository at this point in the history
  • Loading branch information
udoprog committed Jul 27, 2024
1 parent a29629b commit 92f7204
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
2 changes: 1 addition & 1 deletion editors/code/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ If you want to see detailed diagnostics of your program while it's running,
you can use:

```text
cargo run --bin rune -- run scripts/hello_world.rn --dump-unit --trace --dump-vm
cargo run --bin rune -- run scripts/hello_world.rn --dump --trace
```

See `--help` for more information.
Expand Down
2 changes: 1 addition & 1 deletion editors/code/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"preview": true,
"private": true,
"icon": "assets/logo.png",
"version": "0.13.2",
"version": "0.13.3",
"releaseTag": null,
"publisher": "udoprog",
"repository": {
Expand Down
5 changes: 5 additions & 0 deletions editors/code/src/ctx.ts
Original file line number Diff line number Diff line change
Expand Up @@ -464,17 +464,22 @@ function detectPlatform(): [String, String] | undefined {
switch (process.platform) {
case "win32":
platform = "windows";
break;
case "linux":
platform = "linux";
break;
case "darwin":
platform = "macos";
break;
}

switch (process.arch) {
case "x64":
arch = "x86_64";
break;
case "arm64":
arch = "aarch64";
break;
}

if (!platform || !arch) {
Expand Down

0 comments on commit 92f7204

Please sign in to comment.