From b5fd384f595a7af328b8d7e555dc07e8f69bdd41 Mon Sep 17 00:00:00 2001 From: Antoine du Hamel Date: Sun, 21 May 2023 09:58:27 +0200 Subject: [PATCH] doc: fix Windows code snippet tags Those were wrongly marked as `bash`, when the text around it was referencing PowerShell or Command Prompt. --- doc/api/single-executable-applications.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/doc/api/single-executable-applications.md b/doc/api/single-executable-applications.md index 8642dac84f2980..887825492d0dd3 100644 --- a/doc/api/single-executable-applications.md +++ b/doc/api/single-executable-applications.md @@ -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) ``` @@ -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 ``` @@ -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 ```