-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unter Windows Settings on wrong location #118
Comments
This issue is probably better off in the NordicSemiconductor/pc-nrfconnect-toolchain-manager repo, so I will move it there. I am aware that some bigger (re)work on the toolchains is planned but I have no clue about the time frame and whether respecting this request is likely. |
|
I am sorry that the current placement of files is causing you problems. Just addressing where nRF Connect for Desktop is placing its files: If you want to use different locations for those, it is possible today but a bit cumbersome. Cumbersome, because it involves passing command line arguments, which is not a typical thing people do when invoking graphical apps. You can use the command line argument So, e.g. by passing the command line arguments Please note, that this affects most files, but there are exceptions. E.g. because nRF Connect for Desktop interacts with many other tools. This becomes especially evident with the Toolchain Manager: E.g. when using it to install nRF Connect for VS Code, the VS Code extensions are placed by VS Code to where it needs them. I am aware, that still the default placement of files could be better for nRF Connect for Desktop on Windows. But it is also unlikely that this will be addressed soon. So I am hoping that using the described command line arguments can at least help you a little bit. |
Hi Marko, Thank you so much for the CLI argument tips. However, as you just said, it's unlikely this will be useful, for the exact reasons you mention, e.g. that VS Code uses it's own, and so does the MinGW/MSYS2 shell. It was already hell trying to locate the most basic thing like So what is the actual CLI command to apply the arguments to? what_mystery.exe --apps-root-dir 'C:\ncs\nrf-connect-for-desktop-apps' --user-data-dir 'C:\ncs\nrf-connect-for-desktop-data' |
Hi @eabase, sorry for taking so long to respond: You would need to specify the arguments when launching nRF Connect for Desktop. E.g. if you have a shortcut to nRF Connect for Desktop on the desktop, you could right-click on it, select “Properties” and there under “Shortcut” in “Target” you probably find |
When I install nrfconnect and Toolchain Manager on a fresh windows I get three folder in the root of the user profile.
The folder %USERPROFILE% is only for user data and not for program settings.
Please move this folder to %APPDATA% for settings and %LOCALAPPDATA% for caches.
Since more then 25 years they are the folder for program settings.
The text was updated successfully, but these errors were encountered: