mirror of
https://github.com/zen-browser/flatpak.git
synced 2025-07-07 17:05:36 +02:00
chore: Update persist directory name to .zen
This commit is contained in:
parent
87dd437477
commit
9960205b2d
2 changed files with 20 additions and 1 deletions
19
launch-script.sh
Normal file
19
launch-script.sh
Normal file
|
@ -0,0 +1,19 @@
|
||||||
|
#!/bin/bash
|
||||||
|
export TMPDIR=$XDG_CACHE_HOME/tmp
|
||||||
|
|
||||||
|
MOZ_LAUNCHER="$MOZ_DIST_BIN/launch-script.sh"
|
||||||
|
##
|
||||||
|
## Enable Wayland backend?
|
||||||
|
##
|
||||||
|
if ! [ $MOZ_DISABLE_WAYLAND ] && [ "$WAYLAND_DISPLAY" ]; then
|
||||||
|
if [ "$XDG_CURRENT_DESKTOP" == "GNOME" ]; then
|
||||||
|
export MOZ_ENABLE_WAYLAND=1
|
||||||
|
fi
|
||||||
|
## Enable Wayland on KDE/Sway
|
||||||
|
##
|
||||||
|
if [ "$XDG_SESSION_TYPE" == "wayland" ]; then
|
||||||
|
export MOZ_ENABLE_WAYLAND=1
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
|
||||||
|
exec /app/bin/zen "$@"
|
|
@ -14,7 +14,7 @@ finish-args:
|
||||||
- --socket=x11
|
- --socket=x11
|
||||||
- --socket=pcsc
|
- --socket=pcsc
|
||||||
- --socket=cups
|
- --socket=cups
|
||||||
- --persist=.zen-browser
|
- --persist=.zen
|
||||||
- --filesystem=xdg-download:rw
|
- --filesystem=xdg-download:rw
|
||||||
- --device=all
|
- --device=all
|
||||||
- --talk-name=org.freedesktop.FileManager1
|
- --talk-name=org.freedesktop.FileManager1
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue