resticprofile icon indicating copy to clipboard operation
resticprofile copied to clipboard

profiles in exe dir ?

Open tj57 opened this issue 3 years ago • 2 comments

I would like to suggest adding one more location for the profiles file: in the resticprofile.exe directory. This might be the last location to check. This would be helpful when using resticprofile in portable mode, especially on Windows Current directory is not sufficient when resticprofile is used in portable mode and you add this directory to the PATH variable

tj57 avatar Jun 03 '22 06:06 tj57

I see what you mean. That's not a typical way of organising your files in a Unix fashion, but it is quite common in Windows.

Would another variable work? something like .ProgramDir, .BinaryDir, .ResticProfileDir?

Otherwise I'll add the .exe path to the search list (or I can do both)

creativeprojects avatar Jun 03 '22 16:06 creativeprojects

Other variables do not work. It will be usefull feature for Windows users. Please consider adding this path

tj57 avatar Jul 21 '22 09:07 tj57