Skip to content
Open
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions extensions/desktop/command-chain/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ GPU_WRAPPER :=
scripts = hooks-configure-fonts desktop-launch run $(GPU_WRAPPER)

*:
sed -e "s/%PLATFORM_PLUG%/$${PLATFORM_PLUG:?}/" -i desktop-launch hooks-configure-fonts
install -D -m755 "$@" "$(BIN_DIR)"/"$@"

install: $(scripts)
Expand Down
2 changes: 1 addition & 1 deletion extensions/desktop/command-chain/desktop-launch
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/bin/bash

set -- "${SNAP}/gnome-platform/command-chain/desktop-launch" "$@"
set -- "${SNAP}/%PLATFORM_PLUG%/command-chain/desktop-launch" "$@"
# shellcheck source=/dev/null
source "${SNAP}/snap/command-chain/run"
2 changes: 1 addition & 1 deletion extensions/desktop/command-chain/hooks-configure-fonts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/bin/bash

set -- "${SNAP}/gnome-platform/command-chain/hooks-configure-fonts" "$@"
set -- "${SNAP}/%PLATFORM_PLUG%/command-chain/hooks-configure-fonts" "$@"
# shellcheck source=/dev/null
source "${SNAP}/snap/command-chain/run"
1 change: 1 addition & 0 deletions snapcraft/extensions/gnome.py
Original file line number Diff line number Diff line change
Expand Up @@ -330,6 +330,7 @@ def get_parts_snippet(self) -> Dict[str, Any]:
"source": str(source),
"plugin": "make",
"build-snaps": [sdk_snap],
"make-parameters": ["PLATFORM_PLUG=gnome-platform"],
**gpu_opts,
},
}
Expand Down