Compare commits
2 Commits
feature/ad
...
dev
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
cb9b464a99 | ||
| cc3bd2a3a5 |
@@ -77,6 +77,14 @@ To install cflash globally so that it can be run from any terminal:
|
||||
|
||||
* The `build.sh` script compiles all Java source files and creates an executable `cflash.jar`.
|
||||
* The `install.sh` script copies `cflash.jar` to `/usr/local/lib/cflash` and installs a wrapper script in `/usr/local/bin` for easy execution.
|
||||
* If you use Arch Linux:
|
||||
* You can directly install it with `yay` or `paru` via `yay -S cflash` / `paru -S cflash` or
|
||||
* You can clone the repository from the [AUR](https://aur.archlinux.org/packages/cflash) and manually build it:
|
||||
```bash
|
||||
git clone https://aur.archlinux.org/cflash.git
|
||||
cd cflash
|
||||
makepkg -si
|
||||
```
|
||||
|
||||
# Usage
|
||||
- Using the command `cflash` in the terminal, will start the flashing process. You will be asked several question before the flashing begins:
|
||||
|
||||
12
uninstall.sh
Executable file
12
uninstall.sh
Executable file
@@ -0,0 +1,12 @@
|
||||
#!/usr/bin/env bash
|
||||
# Uninstall script for cflash
|
||||
|
||||
if [[ $EUID -ne 0 ]]; then
|
||||
echo "Please run as root to uninstall globally."
|
||||
exit 1
|
||||
fi
|
||||
|
||||
rm -f /usr/local/bin/cflash
|
||||
rm -rf /usr/local/lib/cflash
|
||||
|
||||
echo "cflash uninstalled successfully."
|
||||
Reference in New Issue
Block a user