From 2892d151d4dbf03835dd002a2ecb35e9f537a516 Mon Sep 17 00:00:00 2001 From: Konstantin Tsabolov <1006564+tsabolov@users.noreply.github.com> Date: Sat, 8 Nov 2025 15:18:50 +0100 Subject: [PATCH] doc: add missing word in `single-executable-applications.md` PR-URL: https://github.com/nodejs/node/pull/53864 Reviewed-By: Luigi Pinca Reviewed-By: Joyee Cheung --- doc/api/single-executable-applications.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/api/single-executable-applications.md b/doc/api/single-executable-applications.md index c937e8d3a1e..acf2552d933 100644 --- a/doc/api/single-executable-applications.md +++ b/doc/api/single-executable-applications.md @@ -241,11 +241,11 @@ See documentation of the [`sea.getAsset()`][], [`sea.getAssetAsBlob()`][], ### Startup snapshot support The `useSnapshot` field can be used to enable startup snapshot support. In this -case the `main` script would not be when the final executable is launched. +case, the `main` script would not be executed when the final executable is launched. Instead, it would be run when the single executable application preparation blob is generated on the building machine. The generated preparation blob would then include a snapshot capturing the states initialized by the `main` script. -The final executable with the preparation blob injected would deserialize +The final executable, with the preparation blob injected, would deserialize the snapshot at run time. When `useSnapshot` is true, the main script must invoke the