update README and Makefile
This commit is contained in:
@@ -2,7 +2,8 @@ first:
|
|||||||
gcc src/main.c -o main
|
gcc src/main.c -o main
|
||||||
|
|
||||||
install:
|
install:
|
||||||
/bin/bash echo "alias wordlec='$(realpath main)'" >> ~/.bashrc
|
sudo cp ./main /usr/bin/wordlec
|
||||||
/bin/bash source ~/.bashrc
|
sudo mkdir /usr/lib/wordlists
|
||||||
|
sudo cp ./lib/wordlist /usr/lib/wordlists/
|
||||||
run:
|
run:
|
||||||
./main
|
./main
|
||||||
@@ -13,14 +13,11 @@ Proven working on Linux ONLY. Contributions welcome!
|
|||||||
2. Change into the cloned directory
|
2. Change into the cloned directory
|
||||||
`cd wordlec`
|
`cd wordlec`
|
||||||
|
|
||||||
3. Start the game
|
3. Install the game
|
||||||
`make && make run`
|
`make && make install`
|
||||||
or
|
|
||||||
`./main` to be able to run with arguments
|
|
||||||
|
|
||||||
Optionally you can install it and it can be accessed from any place in the filesystem.
|
4. Run the game
|
||||||
`make install`
|
`wordlec` (`wordlec --help` for help)
|
||||||
Then you can just use `wordlec` (plus optional arguments) to launch the game.
|
|
||||||
|
|
||||||
# How to play
|
# How to play
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user