@@ -72,13 +72,13 @@ tool, [postject][]:
7272 skipped, ignore any signature-related warning from postject.
7373
7474 ``` console
75- $ signtool remove /s hello
75+ $ signtool remove /s hello.exe
7676 ```
7777
78786 . Inject the blob into the copied binary by running ` postject ` with
7979 the following options:
8080
81- * ` hello ` - The name of the copy of the ` node ` executable created in step 2.
81+ * ` hello ` / ` hello.exe ` - The name of the copy of the ` node ` executable created in step 2.
8282 * ` NODE_SEA_BLOB ` - The name of the resource / note / section in the binary
8383 where the contents of the blob will be stored.
8484 * ` sea-prep.blob ` - The name of the blob created in step 1.
@@ -90,12 +90,18 @@ tool, [postject][]:
9090
9191 To summarize, here is the required command for each platform:
9292
93- * On systems other than macOS :
93+ * On Linux :
9494 ``` console
9595 $ npx postject hello NODE_SEA_BLOB sea-prep.blob \
9696 --sentinel-fuse NODE_SEA_FUSE_fce680ab2cc467b6e072b8b5df1996b2
9797 ```
9898
99+ * On Windows:
100+ ```console
101+ $ npx postject hello.exe NODE_SEA_BLOB sea-prep.blob \
102+ --sentinel-fuse NODE_SEA_FUSE_fce680ab2cc467b6e072b8b5df1996b2
103+ ```
104+
99105 * On macOS:
100106 ```console
101107 $ npx postject hello NODE_SEA_BLOB sea-prep.blob \
@@ -117,15 +123,25 @@ tool, [postject][]:
117123 binary would still be runnable.
118124
119125 ``` console
120- $ signtool sign /fd SHA256 hello
126+ $ signtool sign /fd SHA256 hello.exe
121127 ```
122128
1231298 . Run the binary:
130+
131+ * On systems other than Windows
132+
124133 ``` console
125134 $ ./hello world
126135 Hello, world!
127136 ```
128137
138+ * On Windows
139+
140+ ``` console
141+ $ .\hello.exe world
142+ Hello, world!
143+ ```
144+
129145## Generating single executable preparation blobs
130146
131147Single executable preparation blobs that are injected into the application can
0 commit comments