Skip to content

Commit e5b2063

Browse files
committed
it works!
1 parent 7c680f3 commit e5b2063

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

debian-package/DEBIAN/control

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ Section: games
44
Priority: optional
55
Architecture: all
66
Depends: default-jre | java8-runtime
7-
Maintainer: Project516 <project516@github.com>
7+
Maintainer: project516 <project516.progress139@slmail.me>
88
Description: A simple number guessing game
99
A simple number guessing game where you try to guess a randomly
1010
generated number. The game will tell you if your guess is too high

package-deb.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,8 @@ rm -f numberguessinggame.deb
1111

1212
# Build the application
1313
echo "Building application..."
14-
cd app
14+
1515
gradle build
16-
cd ..
1716

1817
# Copy the jar file
1918
echo "Copying files to package directory..."
@@ -24,6 +23,7 @@ cp README.md debian-package/usr/share/games/numberguessinggame/README.md
2423
cp LICENSE debian-package/usr/share/games/numberguessinggame/LICENSE
2524

2625
# Set permissions
26+
chmod 755 debian-package/DEBIAN
2727
chmod 755 debian-package/DEBIAN/postinst
2828
chmod 755 debian-package/usr/games/numberguessinggame
2929

@@ -35,7 +35,7 @@ echo ""
3535
echo "✓ Debian package created: numberguessinggame.deb"
3636
echo ""
3737
echo "To install, run:"
38-
echo " sudo dpkg -i numberguessinggame.deb"
38+
echo " sudo apt install ./numberguessinggame.deb"
3939
echo " sudo apt-get install -f # to install any missing dependencies"
4040
echo ""
4141
echo "After installation, run the game with:"

0 commit comments

Comments
 (0)