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 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
+4 -7
View File
@@ -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