arma3 / DokanPbo

Mount PBO files as drives or folders in the file system
GNU Lesser General Public License v3.0
23 stars 5 forks source link

Use Dokan Notify to live update workdir changes #19

Open dedmen opened 4 years ago

dedmen commented 4 years ago

https://dokan-dev.github.io/dokany-doc/html/group___dokan_notify.html

If a user creates a file in workdir without going through the dokan drive, we could detect that change and warn about it or transfer it into dokan directly.

jonpas commented 4 years ago

Transfer please! Missing this quite a bit when using it for development.

dedmen commented 4 years ago

Usually you should be doing the editing on the dokan drive, not in your workfolder. That way dokan will see all the changes. Thats why this is kinda low priority, because there is a workaround that works just fine already.

jonpas commented 4 years ago

You mean the mounted Dokan drive or the folder Dokan uses (-w <folder>)? Latter is doable, former not in my case, I edit on my host machine and run Arma in a VM - there is no Dokan mounted drive on the host.

dedmen commented 4 years ago

When you mount -w to P: the folder is mirrored on P: If you make changes in you won't see them on P:, but if you make changes on P: they will be cloned into . So i you want to edit files, just open the same file on P:, instead of working directly in

jonpas commented 4 years ago

As I've said, not possible for my workflow.