Closed henrypp closed 1 month ago
I don't think that's currently possible without modifying the source code.
Also, this has been requested before, here: #1279
I don't think that's currently possible without modifying the source code.
u do not have code? . then in this topic @duaneking asked as:
Just use an .ini file and your going to have the most portability and ease. This is a solved problem and its needlessly making it complicated, imho.
but what .ini file it does not telled, no details at ALL
ps: tomorrow close issue as duplicate
u do not have code?
I can't tell you all the places in the code where it stores things in user folders, I have never tried to make it portable myself.
but what .ini file it does not telled, no details at ALL
That comment doesn't really make sense. The configuration is already stored in .ini
format.
I can, however, tell you the main folders involved. Also note that these are different depending on OS, but on Windows it's:
C:\Users\<user>\AppData\Local\nomic.ai\GPT4All
C:\Users\<user>\AppData\Roaming\nomic.ai
C:\Users\<user>\Desktop
and the start menuC:\Users\<user>\.cache\GPT4All
Additionally, the Qt Installer Framework may put some things into some user folder, not sure. That's not directly defined in the source code, I think. And if you change the model folder, some things are put there instead.
That comment doesn't really make sense. The configuration is already stored in .ini format.
does not make sense? it stored in .ini file but placed in %APPDATA%, #1279 tells that it makes portable installation when i place .ini file in other place (not clarified exactly where)
does not make sense? ...
I meant it does not make sense because it already is an .ini
no need to do anything else in that regard.
But yes, the configuration and all the other files' locations would have to be made flexible instead of fixed (or what the Qt API says where they should go).
Feature Request
Unpack to folder and run which save config in this dir, not in APPDATA.
how to?