Add readme.md

This commit is contained in:
2025-04-30 14:14:07 +00:00
parent 120ce240e7
commit 8a31b4ea82

27
readme.md Normal file
View File

@@ -0,0 +1,27 @@
# Bash Script to Binary Converter
This repository includes a script that converts a Bash script into a binary executable. The conversion script also ensures that line endings are consistent and installs necessary dependencies.
## Features
- Automatically fixes Windows-style line endings (CRLF) to Unix-style (LF).
- Checks and installs `shc` if it is not already installed.
- Converts a specified Bash script into a binary executable.
- Cleans up temporary files after conversion.
## Requirements
- A Unix/Linux environment
- Bash shell
- sudo privileges for installing packages
## Installation
### Step 1: Download the Script
You can clone this repository or download the `shell-script-encoder.sh` script directly.
```bash
git clone https://git.bitmaster.cc/BitMaster/shell-script-encoder.git
cd shell-script-encoder
```