Skip to content

Commit

Permalink
Added more to readme
Browse files Browse the repository at this point in the history
  • Loading branch information
james-pre committed Nov 29, 2024
1 parent d209249 commit 85a8b1b
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,3 +32,17 @@ Generate executables for Windows on x64 and Arm:
```sh
xsea src/my-program.js -o dist/my-program -t win-arm64 -t win-x64
```

Generate a SEA for the Iron LTS version:

```sh
xsea src/my-program.js -o dist/my-program -t linux-x64 -N v20.18.1
```

## Limitations

The platform and version resolution are dumb, if you mis-type the version (e.g. `20.18.1` instead of `v20.18.1`), it will not work, and has no support for resolving it (e.g. `v20` will not resolve the minor/patch and fails). Likewise for platform resolution.

### Postject warnings

You may see a bunch of `warning: ...`, you can safely ignore `warning: The signature seems corrupted!` and `warning: Can't find string offset for section name '...'`.

0 comments on commit 85a8b1b

Please sign in to comment.