Skip to content

Commit

Permalink
doc: fix Windows code snippet tags
Browse files Browse the repository at this point in the history
Those were wrongly marked as `bash`, when the text around it was
referencing PowerShell or Command Prompt.

PR-URL: nodejs#48100
Reviewed-By: Michaël Zasso <targos@protonmail.com>
Reviewed-By: Tobias Nießen <tniessen@tnie.de>
Reviewed-By: Mohammed Keyvanzadeh <mohammadkeyvanzade94@gmail.com>
Reviewed-By: Mestery <mestery@protonmail.com>
  • Loading branch information
aduh95 authored and Ceres6 committed Aug 14, 2023
1 parent 7348038 commit 4ce9bf0
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions doc/api/single-executable-applications.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,13 +54,13 @@ tool, [postject][]:

Using PowerShell:

```bash
```powershell
cp (Get-Command node).Source hello.exe
```

Using Command Prompt:

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

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

```bash
```powershell
signtool remove /s hello.exe
```

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

```bash
```powershell
signtool sign /fd SHA256 hello.exe
```

Expand Down

0 comments on commit 4ce9bf0

Please sign in to comment.