Skip to content

Commit

Permalink
Add env vars for snap core22
Browse files Browse the repository at this point in the history
  • Loading branch information
RetGal committed Nov 5, 2023
1 parent a68a2a4 commit 5a1bdda
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion snap/snapcraft.core22.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,9 @@ apps:
assisted:
extensions:
[gnome]
environment:
JAVA_HOME: $SNAP/usr/lib/jvm/java-11-openjdk-amd64
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
plugs:
Expand All @@ -32,6 +35,9 @@ apps:
assistant:
extensions:
[gnome]
environment:
JAVA_HOME: $SNAP/usr/lib/jvm/java-11-openjdk-amd64
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
plugs:
Expand Down Expand Up @@ -66,4 +72,3 @@ parts:
stage-packages:
[openjdk-11-jre]

0 comments on commit 5a1bdda

Please sign in to comment.