Skip to content

Commit

Permalink
Fixed snap bug with java prefs
Browse files Browse the repository at this point in the history
  • Loading branch information
frossm committed Dec 25, 2023
1 parent 086e29b commit 79b9fc0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions snap/snapcraft.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ compression: lzo

apps:
fcal:
command: bin/java -jar $SNAP/jar/cal.jar
command: bin/java -Djava.util.prefs.userRoot="$SNAP_USER_DATA" -jar $SNAP/jar/cal.jar
plugs:
- network

Expand All @@ -36,4 +36,4 @@ parts:

override-prime: |
snapcraftctl prime
rm -vf usr/lib/jvm/java-11-openjdk-*/lib/security/blacklisted.certs
rm -vf usr/lib/jvm/java-11-openjdk-*/lib/security/blacklisted.certs

0 comments on commit 79b9fc0

Please sign in to comment.