diff --git a/docs/tutorials/code-signing-windows-apps-on-unix.md b/docs/tutorials/code-signing-windows-apps-on-unix.md index 274b25f0476..d60f622e809 100644 --- a/docs/tutorials/code-signing-windows-apps-on-unix.md +++ b/docs/tutorials/code-signing-windows-apps-on-unix.md @@ -32,7 +32,7 @@ URLs: Full command for signing: ``` -java -jar jsign-2.1.jar --keystore hardwareToken.cfg --storepass "your password here" --storetype PKCS11 --tsaurl http://timestamp.digicert.com --alias /link/to/cert.pem +java -jar jsign-2.1.jar --keystore hardwareToken.cfg --storepass "your password here" --storetype PKCS11 --tsaurl http://timestamp.digicert.com --alias /link/to/cert.pem /link/to/app.exe ``` ## Signing Windows app on Mac using osslsigncode @@ -123,10 +123,11 @@ exports.default = async function(configuration) { const TOKEN_PASSWORD = process.env.WINDOWS_SIGN_TOKEN_PASSWORD; require("child_process").execSync( - `your command here ${CERTIFICATE_NAME} ${TOKEN_PASSWORD}`, + // your commande here ! For exemple and with JSign : + `java -jar jsign-2.1.jar --keystore hardwareToken.cfg --storepass "${TOKEN_PASSWORD}" --storetype PKCS11 --tsaurl http://timestamp.digicert.com --alias "${CERTIFICATE_NAME}" "${configuration.path}"`, { stdio: "inherit" } ); }; -``` \ No newline at end of file +```