Skip to content

Commit

Permalink
use dash instead of underscore in name
Browse files Browse the repository at this point in the history
  • Loading branch information
TabulateJarl8 committed Mar 1, 2022
1 parent a9a93e1 commit 5579a80
Show file tree
Hide file tree
Showing 4 changed files with 21 additions and 32 deletions.
35 changes: 12 additions & 23 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "wordle_finder"
version = "2.2.5"
name = "wordle-finder"
version = "2.2.6"
edition = "2021"

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
Expand Down
8 changes: 4 additions & 4 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -7,18 +7,18 @@ pre-build:

linux: pre-build
cargo build --release
cp -f ./target/release/wordle_finder ./dist/wordle_finder
strip ./dist/wordle_finder
cp -f ./target/release/wordle-finder ./dist/wordle-finder
strip ./dist/wordle-finder

windows-x64: pre-build
cargo build --target x86_64-pc-windows-gnu --release
strip ./target/x86_64-pc-windows-gnu/release/wordle_finder.exe
strip ./target/x86_64-pc-windows-gnu/release/wordle-finder.exe
cp -f ./winlib/WebView2Loader_x64.dll ./target/x86_64-pc-windows-gnu/release/build/WebView2Loader.dll
rm -f ./dist/windows_x64.zip
zip -rj \
./dist/windows_x64.zip \
./target/x86_64-pc-windows-gnu/release/build/WebView2Loader.dll \
./target/x86_64-pc-windows-gnu/release/wordle_finder.exe \
./target/x86_64-pc-windows-gnu/release/wordle-finder.exe \
LICENSE \
./winlib/WebView2LoaderDLL-LICENSE.txt \
README.md
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@

## Use
### From the terminal
Run `./wordle_finder --help` for more info.
Run `./wordle-finder --help` for more info.

### As a GUI
If you'd like to use the GUI frontend, you can launch it by running `./wordle_finder -g` in a terminal or opening the binary from a file explorer. You can type letters into their respective boxes and use the backspace key to delete them. In order to toggle yellow and dark grey letters, you can click on the appropriate key in the keyboard. 1 click changes it to dark grey, click it again to turn it to yellow, and click it a third time to change it back to it's original state. The reset key will reset all of your typed letters and keyboard keys, but keep the currently displayed wordlist. The enter key will submit the current state and return all possible words in the right-hand side column.
If you'd like to use the GUI frontend, you can launch it by running `./wordle-finder -g` in a terminal or opening the binary from a file explorer. You can type letters into their respective boxes and use the backspace key to delete them. In order to toggle yellow and dark grey letters, you can click on the appropriate key in the keyboard. 1 click changes it to dark grey, click it again to turn it to yellow, and click it a third time to change it back to it's original state. The reset key will reset all of your typed letters and keyboard keys, but keep the currently displayed wordlist. The enter key will submit the current state and return all possible words in the right-hand side column.

![GUI Example](img/main_ui.png)

Expand All @@ -24,4 +24,4 @@ First, install rust using your package manager or from https://www.rust-lang.org
Linux systems with make installed can make the project that way `make linux` or `make windows-x64` will make the respective binaries and output them in the `dist/` folder.

#### Other systems
Other systems can build the binary for their system by running `cargo build --release` in the repository folder. The resulting binary can be found at `./target/release/wordle_finder` or `./target/release/wordle_finder.exe` if you're on Windows.
Other systems can build the binary for their system by running `cargo build --release` in the repository folder. The resulting binary can be found at `./target/release/wordle-finder` or `./target/release/wordle-finder.exe` if you're on Windows.

0 comments on commit 5579a80

Please sign in to comment.