Skip to content

Commit

Permalink
fix: darwin x64 location
Browse files Browse the repository at this point in the history
  • Loading branch information
wobsoriano committed Jul 25, 2022
1 parent 5ae65d7 commit 5ee87e6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ffi.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ const { platform, arch } = process

let filename: string

if (platform === 'linux' && arch === 'x64') {
if (arch === 'x64') {
filename = `../release/promptx-${platform}-amd64.${suffix}`
} else {
filename = `../release/promptx-${platform}-${arch}.${suffix}`
Expand Down

0 comments on commit 5ee87e6

Please sign in to comment.