Skip to content

Commit 53e8d0f

Browse files
authored
Merge pull request #114 from Project516/fix-README
point download links to latest version in README, update fedora packa…
2 parents fde6562 + ad883bf commit 53e8d0f

2 files changed

Lines changed: 6 additions & 8 deletions

File tree

README.md

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,8 @@ For Debian/Ubuntu and derivatives (recommended for terminal usage):
2525

2626
You can use curl to do it from the command line:
2727
```bash
28-
curl -s -L -o numberguessinggame.deb https://github.com/Project516/NumberGuessingGame/releases/download/0.x.y/numberguessinggame.deb
28+
curl -s -L -o numberguessinggame.deb https://github.com/Project516/NumberGuessingGame/releases/latest/download/numberguessinggame.deb
2929
```
30-
where `x` and `y` is the version you want.
3130
2. Install it:
3231
```bash
3332
sudo apt update # Update packages
@@ -55,16 +54,15 @@ For Fedora, RHEL, CentOS, and other RPM-based distributions:
5554

5655
You can use curl to do it from the command line:
5756
```bash
58-
curl -s -L -o numberguessinggame.rpm https://github.com/Project516/NumberGuessingGame/releases/download/0.x.y/numberguessinggame-1.0.0-1.noarch.rpm
57+
curl -s -L -o numberguessinggame.rpm https://github.com/Project516/NumberGuessingGame/releases/latest/download/numberguessinggame.rpm
5958
```
60-
where `x` and `y` is the version you want.
6159
2. Install it:
6260
```bash
63-
sudo dnf install ./numberguessinggame-*.rpm
61+
sudo dnf install ./numberguessinggame.rpm
6462
```
6563
Or on older systems:
6664
```bash
67-
sudo yum install ./numberguessinggame-*.rpm
65+
sudo yum install ./numberguessinggame.rpm
6866
```
6967
3. Run from anywhere in your terminal:
7068
```bash
@@ -175,7 +173,7 @@ The game automatically tracks high scores (games won with the least guesses). Hi
175173
[SDKMAN!](https://sdkman.io) is the recommended way to install Java and Gradle:
176174

177175
```
178-
sdk install java 25-tem
176+
sdk install java 25.0.2-tem
179177
```
180178

181179
Alternatively, install Eclipse Temurin JDK directly from https://adoptium.net/

package-rpm.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ rpmbuild -bb ~/rpmbuild/SPECS/numberguessinggame.spec
5555

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

6060
# Display success message with installation instructions
6161
echo ""

0 commit comments

Comments
 (0)