update README and Makefile

This commit is contained in:
bePrivate
2023-10-28 20:14:40 +02:00
parent d2e49fa2dc
commit 2a8ec77b05
2 changed files with 7 additions and 9 deletions
+3 -2
View File
@@ -2,7 +2,8 @@ first:
gcc src/main.c -o main
install:
/bin/bash echo "alias wordlec='$(realpath main)'" >> ~/.bashrc
/bin/bash source ~/.bashrc
sudo cp ./main /usr/bin/wordlec
sudo mkdir /usr/lib/wordlists
sudo cp ./lib/wordlist /usr/lib/wordlists/
run:
./main
+4 -7
View File
@@ -13,14 +13,11 @@ Proven working on Linux ONLY. Contributions welcome!
2. Change into the cloned directory
`cd wordlec`
3. Start the game
`make && make run`
or
`./main` to be able to run with arguments
3. Install the game
`make && make install`
Optionally you can install it and it can be accessed from any place in the filesystem.
`make install`
Then you can just use `wordlec` (plus optional arguments) to launch the game.
4. Run the game
`wordlec` (`wordlec --help` for help)
# How to play