From 04fa6ec5e4336ea1e2e2adc8884849d35c63e6f5 Mon Sep 17 00:00:00 2001 From: liudonghua Date: Tue, 16 Jan 2024 09:41:02 +0000 Subject: [PATCH] fix shebang argument parse See also https://unix.stackexchange.com/questions/399690/multiple-arguments-in-shebang, https://unix.stackexchange.com/questions/63979/shebang-line-with-usr-bin-env-command-argument-fails-on-linux --- bin/node-sea.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) mode change 100644 => 100755 bin/node-sea.js diff --git a/bin/node-sea.js b/bin/node-sea.js old mode 100644 new mode 100755 index 372be45..8432610 --- a/bin/node-sea.js +++ b/bin/node-sea.js @@ -1,4 +1,4 @@ -#!/usr/bin/env node --no-warnings=ExperimentalWarning +#!/usr/bin/env -S node --no-warnings=ExperimentalWarning import chalk from "chalk"; import { Command, Option } from "commander";