Skip to content

Commit

Permalink
minecraft-launcher: drop private-opt comment and move whitelist
Browse files Browse the repository at this point in the history
  • Loading branch information
glitsj16 authored Sep 27, 2023
1 parent 2c6a53f commit b6287e9
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions etc/profile-m-z/minecraft-launcher.profile
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ include disable-xdg.inc

mkdir ${HOME}/.minecraft
whitelist ${HOME}/.minecraft
whitelist /opt/minecraft-launcher
include whitelist-common.inc
include whitelist-runuser-common.inc
include whitelist-usr-share-common.inc
Expand All @@ -51,10 +52,7 @@ private-dev
# If multiplayer or realms break, add 'private-etc <your-own-java-folder-from-/etc>'
# or 'ignore private-etc' to your minecraft-launcher.local.
private-etc @tls-ca,@x11,host.conf,java*,mime.types,services,timezone
# private-opt breaks file-copy-limit, use a whitelist instead of draining RAM
# https://github.com/netblue30/firejail/discussions/5307
#private-opt minecraft-launcher
whitelist /opt/minecraft-launcher
private-opt minecraft-launcher
private-tmp

dbus-user none
Expand Down

0 comments on commit b6287e9

Please sign in to comment.