Skip to content

Commit ad883bf

Browse files
committed
point download links to latest version in README, update fedora packaging from having the version number in the file to just be numberguessinggame, update jdk for development to 25.0.2-tem
1 parent 20bad97 commit ad883bf

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
@@ -19,9 +19,8 @@ For Debian/Ubuntu and derivatives (recommended for terminal usage):
1919

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

5049
You can use curl to do it from the command line:
5150
```bash
52-
curl -s -L -o numberguessinggame.rpm https://github.com/Project516/NumberGuessingGame/releases/download/0.x.y/numberguessinggame-1.0.0-1.noarch.rpm
51+
curl -s -L -o numberguessinggame.rpm https://github.com/Project516/NumberGuessingGame/releases/latest/download/numberguessinggame.rpm
5352
```
54-
where `x` and `y` is the version you want.
5553
2. Install it:
5654
```bash
57-
sudo dnf install ./numberguessinggame-*.rpm
55+
sudo dnf install ./numberguessinggame.rpm
5856
```
5957
Or on older systems:
6058
```bash
61-
sudo yum install ./numberguessinggame-*.rpm
59+
sudo yum install ./numberguessinggame.rpm
6260
```
6361
3. Run from anywhere in your terminal:
6462
```bash
@@ -169,7 +167,7 @@ The game automatically tracks high scores (games won with the least guesses). Hi
169167
[SDKMAN!](https://sdkman.io) is the recommended way to install Java and Gradle:
170168

171169
```
172-
sdk install java 25-tem
170+
sdk install java 25.0.2-tem
173171
```
174172

175173
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)