Skip to content
This repository was archived by the owner on Oct 1, 2024. It is now read-only.

ARDUINO_DIRECTORIES_DATA environnement variable as packagePath #1625

Open
wants to merge 6 commits into
base: main
Choose a base branch
from

Conversation

rgot-org
Copy link

as describe here https://arduino.github.io/arduino-cli/0.28/configuration/#environment-variables
add the ARDUINO_DIRECTORIES_DATA to define package directory.
the old preference.txt LOCALAPPDATA location is deprecated

@tshcherban
Copy link

tshcherban commented Apr 14, 2023

@rgot-org can this PR be used to support portable mode for VSCode? i want arduino extension to install packages somewhere inside '...\vscode\data' directory, and not '< user>\appdata\arduino15'

@rgot-org
Copy link
Author

rgot-org commented Apr 14, 2023

with the modification i've defined an user variable ARDUINO_DIRECTORIES_DATA to "C:\ArduinoCLI\data" (my data folder location)
then vscode find all the data files in this location. with the user variable you can define the path as you want.
image

@lersi
Copy link

lersi commented Apr 22, 2024

hello, I created a community fork at https://github.com/vscode-arduino/vscode-arduino.
You are more than welcome to merge your changes there.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants