Add readme.md
This commit is contained in:
27
readme.md
Normal file
27
readme.md
Normal 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
|
||||
```
|
||||
Reference in New Issue
Block a user