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

Commit 466ff67

Browse files
committed
Support custom libraries in portable version
1 parent 027e587 commit 466ff67

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/arduino/arduino.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -670,7 +670,7 @@ Please make sure the folder is not occupied by other procedures .`);
670670
// Arduino custom package tools
671671
includePath.push(path.join(os.homedir(), "Documents", "Arduino", "hardware", "tools", "**"));
672672
// Arduino custom libraries
673-
includePath.push(path.join(os.homedir(), "Documents", "Arduino", "libraries", "**"));
673+
includePath.push(path.join(this._settings.sketchbookPath, "libraries", "**"));
674674

675675
const forcedInclude = this.getDefaultForcedIncludeFiles();
676676

0 commit comments

Comments
 (0)