Skip to content

Commit

Permalink
windows is bad
Browse files Browse the repository at this point in the history
  • Loading branch information
Til7701 committed Feb 25, 2024
1 parent e4ddb42 commit 67d97a9
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion build-client.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@

set -e

# windows does not allow text in versions
# https://learn.microsoft.com/en-gb/windows/win32/msi/productversion
windowsVersion="0.0.1"
version="0.0.1-SNAPSHOT"
input="./client/target"
mainJar="client-${version}.jar"
Expand All @@ -28,6 +31,7 @@ if [ "$1" = linux ]; then
--linux-package-name kurtama-client \
--linux-menu-group Game \
--linux-app-category Game \
--linux-app-release ${version} \
--linux-shortcut
elif [ "$1" = windows ]; then
echo "Building for Windows"
Expand All @@ -42,7 +46,7 @@ elif [ "$1" = windows ]; then
--main-jar ${mainJar} \
--resource-dir ${resourceDir} \
--name ${name} \
--app-version "0.0.1" \
--app-version ${windowsVersion} \
--main-class ${mainClass} \
--dest ${destination} \
--win-upgrade-uuid "54e9b129-e6a4-4272-bd94-13079eb6ae6d" \
Expand Down

0 comments on commit 67d97a9

Please sign in to comment.