Skip to content

Commit

Permalink
Merge pull request #36 from jordojordo/update-default-cmd-path
Browse files Browse the repository at this point in the history
Update default gptscript binary path
  • Loading branch information
thedadams authored May 17, 2024
2 parents bceea92 + 13aece6 commit e4d59f3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/gptscript.ts
Original file line number Diff line number Diff line change
Expand Up @@ -912,7 +912,7 @@ async function getCmdPath(): Promise<string> {

const path = await import("path")
const url = await import("url")
return path.join(path.dirname(url.fileURLToPath(import.meta.url)), "..", "bin", "gptscript")
return path.join(path.dirname(url.fileURLToPath(import.meta.url)), "..", "..", "bin", "gptscript")
}

function parseBlocksFromNodes(nodes: any[]): Block[] {
Expand Down

0 comments on commit e4d59f3

Please sign in to comment.