Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 5 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,8 @@ For Debian/Ubuntu and derivatives (recommended for terminal usage):

You can use curl to do it from the command line:
```bash
curl -s -L -o numberguessinggame.deb https://github.com/Project516/NumberGuessingGame/releases/download/0.x.y/numberguessinggame.deb
curl -s -L -o numberguessinggame.deb https://github.com/Project516/NumberGuessingGame/releases/latest/download/numberguessinggame.deb
```
where `x` and `y` is the version you want.
2. Install it:
```bash
sudo apt update # Update packages
Expand Down Expand Up @@ -49,16 +48,15 @@ For Fedora, RHEL, CentOS, and other RPM-based distributions:

You can use curl to do it from the command line:
```bash
curl -s -L -o numberguessinggame.rpm https://github.com/Project516/NumberGuessingGame/releases/download/0.x.y/numberguessinggame-1.0.0-1.noarch.rpm
curl -s -L -o numberguessinggame.rpm https://github.com/Project516/NumberGuessingGame/releases/latest/download/numberguessinggame.rpm
```
where `x` and `y` is the version you want.
2. Install it:
```bash
sudo dnf install ./numberguessinggame-*.rpm
sudo dnf install ./numberguessinggame.rpm
```
Or on older systems:
```bash
sudo yum install ./numberguessinggame-*.rpm
sudo yum install ./numberguessinggame.rpm
```
3. Run from anywhere in your terminal:
```bash
Expand Down Expand Up @@ -169,7 +167,7 @@ The game automatically tracks high scores (games won with the least guesses). Hi
[SDKMAN!](https://sdkman.io) is the recommended way to install Java and Gradle:

```
sdk install java 25-tem
sdk install java 25.0.2-tem
```

Alternatively, install Eclipse Temurin JDK directly from https://adoptium.net/
Expand Down
2 changes: 1 addition & 1 deletion package-rpm.sh
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ rpmbuild -bb ~/rpmbuild/SPECS/numberguessinggame.spec

# Copy the built RPM to the current directory
echo "Copying RPM package to current directory..."
cp ~/rpmbuild/RPMS/noarch/numberguessinggame-*.rpm .
cp ~/rpmbuild/RPMS/noarch/numberguessinggame-*.rpm ./numberguessinggame.rpm

# Display success message with installation instructions
echo ""
Expand Down
Loading