You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am attempting to retrieve Icons for the users currently installed applications. I already have the icon paths (under /usr/share/icons and /usr/share/pixmaps) and I am trying to use convertFileSrc so they can be shown in an image, however no matter what I try I get the error asset protocol not configured to allow the path: <path>.
And protocol-asset is added in tauri features in Cargo.toml
Some examples are /usr/share/icons/breeze/apps/48/okular.svg and /usr/share/icons/breeze/apps/48/gwenview.svg. I know the glob is correct since I'm already using it elsewhere in my application to find the icons. I've tried many different variations of the glob such as just the folder /usr/share/icons/** or /usr/share/icons/**/* and nothing appears to be working, as well as just putting in the direct path to the svg to see if it would load. Am I missing something?
Describe the bug
I am attempting to retrieve Icons for the users currently installed applications. I already have the icon paths (under
/usr/share/icons
and/usr/share/pixmaps
) and I am trying to useconvertFileSrc
so they can be shown in an image, however no matter what I try I get the errorasset protocol not configured to allow the path: <path>
.I have my allowlist set as follows:
And
protocol-asset
is added in tauri features in Cargo.tomlSome examples are
/usr/share/icons/breeze/apps/48/okular.svg
and/usr/share/icons/breeze/apps/48/gwenview.svg
. I know the glob is correct since I'm already using it elsewhere in my application to find the icons. I've tried many different variations of the glob such as just the folder/usr/share/icons/**
or/usr/share/icons/**/*
and nothing appears to be working, as well as just putting in the direct path to the svg to see if it would load. Am I missing something?Reproduction
No response
Expected behavior
No response
Platform and versions
Stack trace
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: