Skip to content

Commit

Permalink
clean up
Browse files Browse the repository at this point in the history
  • Loading branch information
Til7701 committed Feb 25, 2024
1 parent 21c849c commit 40f109d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion build-client.sh
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,8 @@ if [ "$1" = linux ]; then
--linux-menu-group Game \
--linux-app-category Game \
--linux-shortcut


elif [ "$1" = windows ]; then
echo "Building for Windows"
echo "Building client jar"
Expand All @@ -49,7 +51,7 @@ elif [ "$1" = windows ]; then
--win-upgrade-uuid "54e9b129-e6a4-4272-bd94-13079eb6ae6d" \
--win-menu

ls -al ./target/jpackage-out

else
echo "No OS given. Provide 'linux' or 'windows' as an argument."
fi
Expand Down
2 changes: 1 addition & 1 deletion client/jpackage/postinst
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ set -e
echo "Running postinst for kurtama-client with $1"
if [ "$1" = configure ]; then
# creating a desktop item
xdg-desktop-menu install /opt/kurtama-client/lib/kurtama-client-PublicDemoName.desktop
xdg-desktop-menu install /opt/kurtama-client/lib/kurtama-client.desktop
# creating a link, so the application can be called from the command line
ln -sf /opt/kurtama-client/bin/kurtama-client /bin/kurtama-client
fi
Expand Down

0 comments on commit 40f109d

Please sign in to comment.