Skip to content

Commit 634afda

Browse files
saint-james-fraduh95
authored andcommitted
doc: update sea example by fixing wrong code example
The SEA configuration defines the output binary as `sea`, but the signing and run steps still referenced `hello`. Update the example to use `sea` consistently so the commands match the generated binary. Signed-off-by: Maxence Robinet <107369283+saint-james-fr@users.noreply.github.com> PR-URL: #64025 Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
1 parent 0ee91ea commit 634afda

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

doc/api/single-executable-applications.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ tool, [postject][]:
134134
* On macOS:
135135

136136
```bash
137-
codesign --sign - hello
137+
codesign --sign - sea
138138
```
139139

140140
* On Windows (optional):
@@ -143,22 +143,22 @@ tool, [postject][]:
143143
binary would still be runnable.
144144

145145
```powershell
146-
signtool sign /fd SHA256 hello.exe
146+
signtool sign /fd SHA256 sea.exe
147147
```
148148

149149
8. Run the binary:
150150

151151
* On systems other than Windows
152152

153153
```console
154-
$ ./hello world
154+
$ ./sea world
155155
Hello, world!
156156
```
157157

158158
* On Windows
159159

160160
```console
161-
$ .\hello.exe world
161+
$ .\sea.exe world
162162
Hello, world!
163163
```
164164

0 commit comments

Comments
 (0)