diff --git a/Makefile b/Makefile index 12782c7..2354136 100755 --- a/Makefile +++ b/Makefile @@ -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 \ No newline at end of file diff --git a/README.md b/README.md index e5e3069..0f1bb46 100755 --- a/README.md +++ b/README.md @@ -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