Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(linux): ensure icon works in sandboxed environments #43

Merged
merged 2 commits into from
Mar 31, 2024

Conversation

Merrit
Copy link
Contributor

@Merrit Merrit commented Mar 30, 2024

When running in a sandboxed environment, such as a Flatpak or Snap, the icon should be passed as the icon name, not a path.

This is required because when running in a sandbox, paths are not the same as seen by the app and the host system.

Merrit added 2 commits March 23, 2024 14:23
Only macOS requires the icon to be passed as a base64 string. No need
to do this for other platforms.
When running in a sandboxed environment, such as a Flatpak or Snap, the
icon should be passed as the icon name, not a path.

This is required because when running in a sandbox, paths are not the
same as seen by the app and the host system.
@lijy91
Copy link
Member

lijy91 commented Mar 31, 2024

LGTM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants