Skip to content

Commit 7d198cc

Browse files
committed
fix: patch process.argv[1] for bun compile compatibility
1 parent 6659b2a commit 7d198cc

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/bun-compile.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ jobs:
3939

4040
- name: Create entry point
4141
run: |
42-
echo 'await import("@augmentcode/auggie");' > augment.mjs
42+
printf 'process.argv[1] = process.execPath;\nawait import("@augmentcode/auggie");\n' > augment.mjs
4343
4444
- name: Compile binary
4545
run: bun build augment.mjs --compile --target=${{ matrix.target }} --outfile=${{ matrix.output }}

0 commit comments

Comments
 (0)