Skip to content

Commit 30870d1

Browse files
authored
doc: fix Windows code snippet tags
Those were wrongly marked as `bash`, when the text around it was referencing PowerShell or Command Prompt. PR-URL: #48100 Reviewed-By: Michaël Zasso <[email protected]> Reviewed-By: Tobias Nießen <[email protected]> Reviewed-By: Mohammed Keyvanzadeh <[email protected]> Reviewed-By: Mestery <[email protected]>
1 parent 260092e commit 30870d1

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

doc/api/single-executable-applications.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -54,13 +54,13 @@ tool, [postject][]:
5454

5555
Using PowerShell:
5656

57-
```bash
57+
```powershell
5858
cp (Get-Command node).Source hello.exe
5959
```
6060

6161
Using Command Prompt:
6262

63-
```bash
63+
```text
6464
for /F "tokens=*" %n IN ('where.exe node') DO @(copy "%n" hello.exe)
6565
```
6666

@@ -79,7 +79,7 @@ tool, [postject][]:
7979
[signtool][] can be used from the installed [Windows SDK][]. If this step is
8080
skipped, ignore any signature-related warning from postject.
8181

82-
```bash
82+
```powershell
8383
signtool remove /s hello.exe
8484
```
8585

@@ -131,7 +131,7 @@ tool, [postject][]:
131131
A certificate needs to be present for this to work. However, the unsigned
132132
binary would still be runnable.
133133

134-
```bash
134+
```powershell
135135
signtool sign /fd SHA256 hello.exe
136136
```
137137

0 commit comments

Comments
 (0)