We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9544a5f commit a8b683eCopy full SHA for a8b683e
src/arduino/arduinoSettings.ts
@@ -214,6 +214,8 @@ export class ArduinoSettings implements IArduinoSettings {
214
this._packagePath = path.join(this._arduinoPath, "portable");
215
} else if (util.fileExistsSync(path.join(this._arduinoPath, "AppxManifest.xml"))) {
216
this._packagePath = path.join(folder, "ArduinoData");
217
+ } else if (process.env.hasOwnProperty('ARDUINO_DIRECTORIES_DATA')) {
218
+ this._packagePath = process.env.ARDUINO_DIRECTORIES_DATA
219
} else {
220
this._packagePath = path.join(process.env.LOCALAPPDATA, "Arduino15");
221
}
0 commit comments