From ce46a56c3075cc17fa9f78ea8ff73fda15ce05df Mon Sep 17 00:00:00 2001 From: Andrea Spadaccini Date: Thu, 26 Oct 2023 23:32:11 +0200 Subject: [PATCH] tweak: remove version number from snap jar (#854) Fixes #486 --- scripts/edumips64-snap-wrapper.sh | 2 +- snapcraft.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/edumips64-snap-wrapper.sh b/scripts/edumips64-snap-wrapper.sh index 4af894154..9277735c1 100755 --- a/scripts/edumips64-snap-wrapper.sh +++ b/scripts/edumips64-snap-wrapper.sh @@ -1,3 +1,3 @@ #!/bin/sh -$SNAP/usr/lib/jvm/java-17-openjdk-$SNAP_ARCH/bin/java -jar -Djava.util.prefs.userRoot="$SNAP_USER_DATA" $SNAP/jar/edumips64-1.3.0.jar $* +$SNAP/usr/lib/jvm/java-17-openjdk-$SNAP_ARCH/bin/java -jar -Djava.util.prefs.userRoot="$SNAP_USER_DATA" $SNAP/jar/edumips64.jar $* diff --git a/snapcraft.yaml b/snapcraft.yaml index 312f5ca76..ced37639c 100644 --- a/snapcraft.yaml +++ b/snapcraft.yaml @@ -37,7 +37,7 @@ parts: mkdir -p "$CRAFT_PART_INSTALL"/jar bash gradlew --no-daemon "$@" jar && \ ls -ld build/libs/* && \ - mv build/libs/edumips64-*.jar "$CRAFT_PART_INSTALL"/jar/edumips64-1.3.0.jar && \ + mv build/libs/edumips64-*.jar "$CRAFT_PART_INSTALL"/jar/edumips64.jar && \ ls $CRAFT_PART_INSTALL/jar/*.jar -ld source: . # Install Python 3.10 and make it the default Python3 before the build stage,