Skip to content

Commit

Permalink
fix: installation failure on windows
Browse files Browse the repository at this point in the history
  • Loading branch information
suin committed Jun 20, 2024
1 parent 266a661 commit eea1288
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion k6/plugin.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ download-file = "k6-v{version}-macos-{arch}.zip"
checksum-file = "k6-v{version}-checksums.txt"

[platform.windows]
bin-path = "k6-v{version}-windows-{arch}.exe/k6.exe"
bin-path = "k6-v{version}-windows-{arch}/k6.exe"
download-file = "k6-v{version}-windows-{arch}.zip"
checksum-file = "k6-v{version}-checksums.txt"

Expand Down
1 change: 1 addition & 0 deletions mise/plugin.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ checksum-file = "SHASUMS256.txt"
[platform.windows]
download-file = "mise-v{version}-win-{arch}.zip"
checksum-file = "SHASUMS256.txt"
bin-path = "bin/mise.exe"

[install]
download-url = "https://github.com/jdx/mise/releases/download/v{version}/{download_file}"
Expand Down
7 changes: 3 additions & 4 deletions rye/plugin.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@ checksum-file = "rye-{arch}-macos.gz.sha256"
download-file = "rye-{arch}-macos.gz"

[platform.windows]
bin-path = "rye-{arch}-windows.exe"
checksum-file = "rye-{arch}-windows.exe.sha256"
download-file = "rye-{arch}-windows.exe"
bin-path = "rye-x86-windows.exe"
checksum-file = "rye-x86-windows.exe.sha256"
download-file = "rye-x86-windows.exe"

[install]
checksum-url = "https://github.com/astral-sh/rye/releases/download/{version}/{checksum_file}"
Expand All @@ -23,7 +23,6 @@ download-url = "https://github.com/astral-sh/rye/releases/download/{version}/{do
[install.arch]
aarch64 = "aarch64"
x86_64 = "x86_64"
x86 = "x86"

[install.primary]
exe-path = "rye-{arch}-{os}"
Expand Down

0 comments on commit eea1288

Please sign in to comment.