-
Notifications
You must be signed in to change notification settings - Fork 2.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: revise vscode extension directories
We distinguish between drop-in location and deployment location. We also switch to user-specific temp directories: Using a subdirectory of the theia config directory for temporary files avoids using shared temporary locations provided by OS mechanisms. This prevents writing or unpacking confidential extension data to locations outside the user's control. * Use $configDir/extensions as drop-in location Users can put vsix files here and they will be automatically unpacked to the deployment location on startup if not already present. The drop-in location is not managed in any way by Theia, so the files will not be removed when the extensions are uninstalled. They will be removed from the deployment location though. * Use $configDir/deployedPlugins as deployment location Here, extensions are unpacked when installed. Theia will search this folder for extensions to load on startup. * The temporary location for downloaded extensions is now residing in the config directory: $configDir/tmp/. The files will be removed after the extension has been unpacked to the deployment location. Contributed on behalf of STMicroelectronics Signed-off-by: Olaf Lessenich <[email protected]>
- Loading branch information
Showing
8 changed files
with
203 additions
and
122 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.