forked from platformio/platformio-core
Check package structure after unpacking and raise error when antivirus tool blocks PlatformIO package manager // Resolve #1462
This commit is contained in:
@ -102,6 +102,13 @@ class PackageInstallError(PlatformioException):
|
||||
"Please try this solution -> http://bit.ly/faq-package-manager")
|
||||
|
||||
|
||||
class ExtractArchiveItemError(PlatformioException):
|
||||
|
||||
MESSAGE = (
|
||||
"Could not extract `{0}` to `{1}`. Try to disable antivirus "
|
||||
"tool or check this solution -> http://bit.ly/faq-package-manager")
|
||||
|
||||
|
||||
class FDUnrecognizedStatusCode(PlatformioException):
|
||||
|
||||
MESSAGE = "Got an unrecognized status code '{0}' when downloaded {1}"
|
||||
|
Reference in New Issue
Block a user