Install the Arduino_BuiltIn to built-in location

Closes #1055.

Signed-off-by: Akos Kitta <a.kitta@arduino.cc>
This commit is contained in:
Akos Kitta
2022-08-30 13:15:48 +02:00
committed by Akos Kitta
parent 0d545bea0e
commit 1b7f86b231
6 changed files with 74 additions and 9 deletions

View File

@@ -28,6 +28,7 @@ export interface LibraryService
version?: Installable.Version;
installDependencies?: boolean;
noOverwrite?: boolean;
installLocation?: LibraryLocation.BUILTIN | LibraryLocation.USER;
}): Promise<void>;
installZip(options: {
zipUri: string;
@@ -141,7 +142,7 @@ export enum LibraryLocation {
/**
* In the `libraries` subdirectory of the Arduino IDE installation.
*/
IDE_BUILTIN = 0,
BUILTIN = 0,
/**
* In the `libraries` subdirectory of the user directory (sketchbook).