Skip to content

Commit

Permalink
Correct OSX platform download (#67)
Browse files Browse the repository at this point in the history
* Correct osx download

* Bump version to 0.0.14
  • Loading branch information
zephraph authored Sep 26, 2024
1 parent 6ec1f8b commit 1100a45
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Changelog

## 0.0.14 (binary 0.1.11) -- 2024-09-26

- fix an issue where arm64 macs weren't downloading the correct binary

## 0.0.13 (binary 0.1.11) -- 2024-09-26

- added `webview.loadHtml(...)`
Expand Down
2 changes: 1 addition & 1 deletion deno.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@justbe/webview",
"exports": "./src/lib.ts",
"version": "0.0.13",
"version": "0.0.14",
"tasks": {
"dev": "deno run --watch main.ts",
"gen": "deno task gen:rust && deno task gen:deno",
Expand Down
2 changes: 1 addition & 1 deletion src/lib.ts
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ async function getWebViewBin(options: WebViewOptions) {
`https://github.com/zephraph/webview/releases/download/webview-v${BIN_VERSION}/deno-webview`;
switch (Deno.build.os) {
case "darwin": {
url += "-mac" + flags;
url += "-mac" + (Deno.build.arch === "aarch64" ? "-arm64" : "") + flags;
break;
}
case "linux": {
Expand Down

0 comments on commit 1100a45

Please sign in to comment.