• Cristian Maglie's avatar
    [skip-changelog] [breaking] Downloaders/Installers refactor (#1809) · c7163b77
    Cristian Maglie authored
    * Made PackageManager.TempDir private
    
    * Merged InstallToolRelease function into the proper packagemanager method
    
    * Moved uninstallToolRelease into the proper packagamanger method
    
    * Moved uninstallPlatformRelease into the proper packagamanger method
    
    * Moved downloadToolRelease into the proper packagamanger method
    
    * Merged downloadTool with the proper packagamanger method
    
    * Merged downloadPlatform with the proper packagamanger method
    
    * Moved installPlatform into a packagamanger method
    
    * Moved upgradePlatform into a packagamanger method
    
    * Made PackageManager.Log field private
    
    * Removed the massive code duplication in the 'upgrade' command
    
    * Removed the massive code duplication in the 'outdated' command
    
    * Updated docs
    
    * Update arduino/cores/packagemanager/install_uninstall.go
    Co-authored-by: default avatarper1234 <accounts@perglass.com>
    
    * Update arduino/cores/packagemanager/install_uninstall.go
    Co-authored-by: default avatarper1234 <accounts@perglass.com>
    Co-authored-by: default avatarper1234 <accounts@perglass.com>
    c7163b77
profiles.go 8.77 KB