Hello developers,
I added a Build Step which copies a file, a SQLIte database in Resources Folder This is the base database file. That works fine. But since this directory can be carried away if the application is deleted before it is reinstalled, I am loosing that file. Also, I would like to find a directory that is not the application tree. SpecialFolder.ApplicationData seems good but the Copy command does not seem to offer that destination.
My question is two-fold:
-
How can I during Build copy the db file to SpecialFolder.ApplicationData ?
-
How can I check if the file is already in SpecialFolder.ApplicationData and then not Copy it there ?
This is a Desktop Application that targets bot Windows and MacOS, developed using 2021r3.
Thanks to all