there not work in Linux(Manjaro)
afunc233 opened this issue · 1 comments
afunc233 commented
System.InvalidOperationException: This operation is not supported for a relative URI.
at System.Uri.get_Scheme()
at AsyncImageLoader.Loaders.BaseWebImageLoader.LoadFromInternalAsync(String url) in /home/afunc/Projects/AsyncImageLoader.Avalonia/AsyncImageLoader.Avalonia/Loaders/BaseWebImageLoader.cs:line 99
and the params url : /home/afunc/.local/share/PumpkinWindowsConfigurations/CacheImg/1806291fb70687a8b7a13df26fc705df641fed15.png
so maybe we should check the url is localfile first by use File.Exists(url)
afunc233 commented
or other better way ?