diff --git a/README.md b/README.md index 829a2e2..268e65f 100644 --- a/README.md +++ b/README.md @@ -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 @@ -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 @@ -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/ diff --git a/package-rpm.sh b/package-rpm.sh index 28e9218..a57a6ef 100755 --- a/package-rpm.sh +++ b/package-rpm.sh @@ -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 ""