Skip to content

Commit

Permalink
Use arch sensitive envs for snap
Browse files Browse the repository at this point in the history
  • Loading branch information
RetGal committed Nov 5, 2023
1 parent 5a1bdda commit 2db4d6e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions snap/snapcraft.core22.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ apps:
extensions:
[gnome]
environment:
JAVA_HOME: $SNAP/usr/lib/jvm/java-11-openjdk-amd64
JAVA_HOME: $SNAP/usr/lib/jvm/java-11-openjdk-$SNAP_ARCH
PATH: $JAVA_HOME/bin:$JAVA_HOME/jre/bin:$PATH
command: bin/dayon.launcher $SNAP/jar/dayon.jar $1 $2 $3 $4 $5
desktop: ../parts/dayon/build/target/dayon.assisted.desktop
Expand All @@ -36,7 +36,7 @@ apps:
extensions:
[gnome]
environment:
JAVA_HOME: $SNAP/usr/lib/jvm/java-11-openjdk-amd64
JAVA_HOME: $SNAP/usr/lib/jvm/java-11-openjdk-$SNAP_ARCH
PATH: $JAVA_HOME/bin:$JAVA_HOME/jre/bin:$PATH
command: bin/dayon.launcher $SNAP/jar/dayon.jar assistant $1 $2 $3
desktop: ../parts/dayon/build/target/dayon.assistant.desktop
Expand Down
4 changes: 2 additions & 2 deletions snap/snapcraft.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ apps:
extensions:
[gnome-3-28]
environment:
JAVA_HOME: $SNAP/usr/lib/jvm/java-11-openjdk-amd64
JAVA_HOME: $SNAP/usr/lib/jvm/java-11-openjdk-$SNAP_ARCH
PATH: $JAVA_HOME/bin:$JAVA_HOME/jre/bin:$PATH
command: bin/dayon.launcher $SNAP/jar/dayon.jar $1 $2 $3 $4 $5
desktop: ../parts/dayon/build/target/dayon.assisted.desktop
Expand All @@ -31,7 +31,7 @@ apps:
extensions:
[gnome-3-28]
environment:
JAVA_HOME: $SNAP/usr/lib/jvm/java-11-openjdk-amd64
JAVA_HOME: $SNAP/usr/lib/jvm/java-11-openjdk-$SNAP_ARCH
PATH: $JAVA_HOME/bin:$JAVA_HOME/jre/bin:$PATH
command: bin/dayon.launcher $SNAP/jar/dayon.jar assistant $1 $2 $3
desktop: ../parts/dayon/build/target/dayon.assistant.desktop
Expand Down

0 comments on commit 2db4d6e

Please sign in to comment.