diff --git a/readme.md b/readme.md new file mode 100644 index 0000000..59cdf52 --- /dev/null +++ b/readme.md @@ -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 +``` \ No newline at end of file