The main binaries required to interpret and run the scripts.
// Copy example environment file if it exists const envExample = '.env.example'; if (await fs.pathExists(envExample)) console.log(chalk.blue('设置环境变量文件...')); await $ cp $envExample .env ; else console.log(chalk.yellow('跳过 .env 文件设置 (未找到 .env.example)。'));
The main binaries required to interpret and run the scripts.
// Copy example environment file if it exists const envExample = '.env.example'; if (await fs.pathExists(envExample)) console.log(chalk.blue('设置环境变量文件...')); await $ cp $envExample .env ; else console.log(chalk.yellow('跳过 .env 文件设置 (未找到 .env.example)。')); zxdl script portable