mirror of
https://github.com/proletarius101/com.bitwarden.desktop.git
synced 2024-10-22 20:51:50 +02:00
Use zypak-wrapper instead of disabling sandbox
Also move `TMPDIR` to `$XDG_RUNTIME_DIR/app/$FLATPAK_ID` which is better because it's not persistent as original `/tmp` would be.
This commit is contained in:
parent
ba33ff7a95
commit
87c3dd1781
|
@ -30,7 +30,8 @@ modules:
|
||||||
- type: script
|
- type: script
|
||||||
dest-filename: bitwarden.sh
|
dest-filename: bitwarden.sh
|
||||||
commands:
|
commands:
|
||||||
- 'exec env TMPDIR=$XDG_CACHE_HOME /app/Bitwarden/bitwarden --no-sandbox "$@"'
|
- export TMPDIR="$XDG_RUNTIME_DIR/app/$FLATPAK_ID"
|
||||||
|
- exec zypak-wrapper /app/Bitwarden/bitwarden "$@"
|
||||||
- type: file
|
- type: file
|
||||||
path: com.bitwarden.desktop.appdata.xml
|
path: com.bitwarden.desktop.appdata.xml
|
||||||
buildsystem: simple
|
buildsystem: simple
|
||||||
|
|
Loading…
Reference in a new issue