BarryG wrote:
Ever since then when I've needed it on a new PC or VM, I've just copied its folder over because it's portable.
I did this for many years but since, I don't know which version, I got issue due to the registry values created during installations.
I haven't really looked into the details of why and how (and may have missed a step or a piece of information) but, now, in this case, I install from the official PB installer and copy the config file where it belongs (and the history file if necessary). I admit, however, that this may not be the best or simplest solution

.
highend wrote:
Add a string field to the GUI with a dropdown (that contains the last <x> paths you've opened) together with a button that opens the PathRequester() to select a folder.
Then you can switch between multiple .db files quickly...
That's the option I'm working on right now.
highend wrote: Wed May 22, 2024 6:57 am
Can you please store the last used path in the .prefs file please?
So that we don't need to navigate to the history.db folder each time we start the tool
Here, however, I haven't yet decided on the order of opening priorities.
For the moment, it's as follows:
1) Open the default file
2) If unsuccessful, ask the user for a new location and store the folder in the prefs file.
My concern is that if I try to open the last file used in a previous session and it's not available (path not found or file deleted), what do I do next?
I think I'll do it this way:
1) First try to open the default file
2) If unsuccessful, if a last used file has been saved and is available, try to open it.
3) If unsuccessful or no last file, don't open any file and the user will choose from the combo list if there are any, or add folders via the preferences window.
What do you think about this?
(for a tiny tool that intended to be as small and simple as possible, it start to be more complex

. )