vscode-weston-launcher: appends a Weston panel entry for VSCode#5
Merged
Conversation
Optional companion package. RDEPENDS on vscode + weston-init. Postinst appends a [launcher] block to /etc/xdg/weston/weston.ini between meta-vscode-launcher-begin / -end sentinels; prerm strips the block back out cleanly on package removal. The launcher icon is the canonical /usr/share/vscode/resources/app/ resources/linux/code.png (1024x1024) which Weston scales down to panel size; binary entry point is /usr/share/vscode/bin/code, matching where the vscode recipe installs everything. Pull in via IMAGE_INSTALL when the image ships a Weston desktop and should expose VSCode as a one-click launch. No-op on non-Weston images (RDEPENDS won't pull weston-init in, postinst silently skips when /etc/xdg/weston/weston.ini doesn't exist).
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Optional companion package for users running a Weston desktop on their target. Pull in via IMAGE_INSTALL alongside vscode and the VSCode icon shows up on the Weston panel.
How it works:
# meta-vscode-launcher-begin/-endsentinel comments.Launcher itself:
Verified builds clean on scarthgap.