Using Icon packs in V14
# help-with-umbraco
b
This may be the stupid question of the day - I have installed Warrens Iconoir package, but where are the icons? I thought I would be able to use the icons for Document Types https://marketplace.umbraco.com/package/umbraco.community.iconpack.iconoir
r
Hey @Boye ! I just tested this out with a fresh v14.1.0 install and it's worked out of the box for me. Have you stopped/started the site, made sure that you bust browser cache and either bust internal cache or have hosting:debug set to true? You can test to see if the package installed correctly by heading to https://[your domain]/App_Plugins/Umbraco.IconPack.Iconoir/umbraco-package.json - if it's working you should see the JSON file.
b
Thanks - There’s something going on with my machine. I tried on another pc and it just worked
r
Are you running Linux by any chance @Boye ?
w
Get to the bottom of it?!
b
I'm on macOS
No, decided to take a holiday instead πŸ˜‰
Seems like it's still an issue on macOS
m
Probably a casing issue. Here the assets are built and output to App_Plugins (https://github.com/warrenbuckley/Umbraco.Community.IconPack.Iconoir/blob/main/Umbraco.Community.IconPack.Iconoir/client/vite.config.ts) but in the umbraco-package.json they are referenced via app_plugins (https://github.com/warrenbuckley/Umbraco.Community.IconPack.Iconoir/blob/main/Umbraco.Community.IconPack.Iconoir/client/public/umbraco-package.json). This will be an issues as Linux and MacOS are case sensitive filesystems. I believe App_Plugins should be the correct casing.
Probably an easy Hacktoberfest PR if anyone wants it πŸ˜‰
w
Ah thanks @Matt Brailsford Do you want to take this @Boye I will happily merge/accept the fix. Good ole Linux casing issue and no longer using a Mac day to day anymore
k
I've done this to my "testing" folder, https://learn.microsoft.com/en-us/windows/wsl/case-sensitivity#modify-case-sensitivity so hopefully i capture these while not on a mac πŸ™‚ its not perfect (especially with how zip files are handled , but it lets you get the 'simple' ones. (realizes now, i haven't actually done that on my new pc 😟 )
w
Thanks Kevin will take a look later tonight for the WSL stuff
So are you running
fsutil.exe file setCaseSensitiveInfo <path> enable
over the entire directory of the repo/project and I assume all subfolders are treated with case sensitivity ?
k
Yes, it needs to be ran on an empty folder so I did it on a "testing" folder which is the one I use when I run any test sites ect. You could in theory do it on a folder then move the repo into it and it would do it to your source , I've just never gotten around to doing that πŸ™‚
w
Ah shame it has to be empty folder
b
Done
w
I will take a look at lunch Jonas
All merged in @Boye There is a new release of icons from Iconoir as well so will get that merged in tonight and get a release out
Also marked the PR as hacktoberfest accepted if your doing that
Released and in 7.9.0 (with whatever new icons are in 7.9.0 of Iconoir) @Boye https://github.com/warrenbuckley/Umbraco.Community.IconPack.Iconoir/releases/tag/v7.9.0 https://www.nuget.org/packages/Umbraco.Community.IconPack.Iconoir/7.9.0
dotnet add package Umbraco.Community.IconPack.Iconoir --version 7.9.0
b
Thanks Warren πŸ‘
w
No thank you !
57 Views