Throw better error when spawning snap Chromium from another snap app #317
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.
If the shell environment is working in restricted by snap app (enabled AppArmor), Marp CLI may not spawn Chromium through installed from Snap store. (#287)
https://bugs.launchpad.net/ubuntu/+source/snapd/+bug/1849753
This PR will throw better error spawning snap Chromium from the restricted shell environment, such as another snap app. This is useful to show warning in the combination of snap version of VS Code + Marp for VS Code.