File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ Section: games
44Priority: optional
55Architecture: all
66Depends: default-jre | java8-runtime
7- Maintainer: Project516 <project516@github.com >
7+ Maintainer: project516 <project516.progress139@slmail.me >
88Description: 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
Original file line number Diff line number Diff line change @@ -11,9 +11,8 @@ rm -f numberguessinggame.deb
1111
1212# Build the application
1313echo " Building application..."
14- cd app
14+
1515gradle build
16- cd ..
1716
1817# Copy the jar file
1918echo " Copying files to package directory..."
@@ -24,6 +23,7 @@ cp README.md debian-package/usr/share/games/numberguessinggame/README.md
2423cp LICENSE debian-package/usr/share/games/numberguessinggame/LICENSE
2524
2625# Set permissions
26+ chmod 755 debian-package/DEBIAN
2727chmod 755 debian-package/DEBIAN/postinst
2828chmod 755 debian-package/usr/games/numberguessinggame
2929
@@ -35,7 +35,7 @@ echo ""
3535echo " ✓ Debian package created: numberguessinggame.deb"
3636echo " "
3737echo " To install, run:"
38- echo " sudo dpkg -i numberguessinggame.deb"
38+ echo " sudo apt install ./ numberguessinggame.deb"
3939echo " sudo apt-get install -f # to install any missing dependencies"
4040echo " "
4141echo " After installation, run the game with:"
You can’t perform that action at this time.
0 commit comments