SvenWerlen / moulinette-core

FoundryVTT module which provides a set of tools for DMs for managing assets.
https://www.patreon.com/moulinette
MIT License
41 stars 10 forks source link

Using alternate directory for moulinette store with symlinks doesn't work on windows #46

Closed theksi closed 2 years ago

theksi commented 2 years ago

Hello,

Running on foundry 9.269, with moulinette core 4.7.0

I've been extensively using moulinette on a MAC system where all my assets are stored under the /sharedassets/ directory, beneath this directory sits de moulinette directory. This setup was done using symbolic links

I had to setup the same environment on a windows machine, and I used a windows logical link . When I try to generate my assets index, I am getting the following error

moulinette/tiles/custom does not exist or is not accessible in this storage location

If I remove the link and launch an indexation, moulinette creates an "empty" directory tree and indexes the game icons.

I am almost certain that it worked before.

Is there any way to solve this ?

theksi commented 2 years ago

Hello I kind of solved by removing the link and replacing it with a junction using mklink /d /j destination source

theksi commented 2 years ago

solved by creating a junction instead of a shortcut

SvenWerlen commented 2 years ago

Hi! For your information, the recent versions of Moulinette provides a UI to let you pick and choose a folder and it to the source to be indexed. It is much easier than the old way of doing it (that you use).