Skip to content

Commit

Permalink
Move launcher to snap/local directory
Browse files Browse the repository at this point in the history
  • Loading branch information
pedro-avalos committed Oct 16, 2024
1 parent 182c4a9 commit 661353a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions launcher/launcher → snap/local/bin/launcher
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/usr/bin/env bash
#!/usr/bin/env sh

if [[ ! -n "$DISABLE_WAYLAND" ]] && [[ -n "$WAYLAND_DISPLAY" ]] ; then
WAYLAND_OPTS="--enable-features=WaylandWindowDecorations,WebRTCPipeWireCapturer --ozone-platform-hint=auto"
fi

exec "$SNAP/usr/bin/proton-pass" --no-sandbox --disable-seccomp-filter-sandbox $WAYLAND_OPTS "$@"
exec "$SNAP/usr/bin/proton-pass" --no-sandbox --disable-seccomp-filter-sandbox $WAYLAND_OPTS "$@"
8 changes: 4 additions & 4 deletions snap/snapcraft.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -96,8 +96,9 @@ platforms:

apps:
proton-pass:
command: launcher
command: bin/launcher
desktop: usr/share/applications/proton-pass.desktop
common-id: me.proton.Pass
extensions:
- gnome
plugs:
Expand All @@ -118,9 +119,8 @@ apps:
parts:
launcher:
plugin: dump
source: launcher
override-build: |
cp launcher $CRAFT_PART_INSTALL/
source: snap/local
source-type: local

proton-pass:
plugin: dump
Expand Down

0 comments on commit 661353a

Please sign in to comment.