nvda
7ae7d009 - Better cleanup of removed addons:

Commit
14 years ago
Better cleanup of removed addons: * addonHandler.Addon.removecontents: If not all of the addon could be deleted, rename the directory to a temp name with an extention of ADDON_REMOVED_EXTENSION (.removed). Also remove the ignore_errors argument as it really can't be changed anymore. * addonHandler._getAvailableAddonsFromPath: do not include directories marked for removal. * addonHandler: add a 'cleanRemovedAddons' function which removes any addons marked for removal. * addonHandler.initialize: before loading any addons, call cleanRemovedAddons (which gets rid of any addons that failed to be removed on last run of NVDA).
Parents
Loading