单个可执行应用创建过程
【Single executable application creation process】
旨在创建单个可执行 Node.js 应用的工具必须将使用 --experimental-sea-config 准备的 blob 内容注入到:
【A tool aiming to create a single executable Node.js application must
inject the contents of the blob prepared with --experimental-sea-config"
into:】
- 如果
node二进制文件是 体育 文件,则有一个名为NODE_SEA_BLOB的资源 - 如果
node二进制文件是 Mach-O 文件,则在NODE_SEA段中有一个名为NODE_SEA_BLOB的节 - 如果
node二进制文件是 精灵 文件,则有一个名为NODE_SEA_BLOB的注释
在二进制文件中搜索 NODE_SEA_FUSE_fce680ab2cc467b6e072b8b5df1996b2:0 保险丝 字符串,并将最后一个字符改为 1,以表示资源已被注入。
【Search the binary for the
NODE_SEA_FUSE_fce680ab2cc467b6e072b8b5df1996b2:0 fuse string and flip the
last character to 1 to indicate that a resource has been injected.】