def run(self):
log("Cleaning")
overlay_path = path.get_overlay()
patches = _get_patches(overlay_path, ".sublime-theme")
if os.path.exists(overlay_path):
try:
for p in patches:
os.remove(p)
except Exception as error:
log("Error during cleaning")
dump(error)
else:
log("Cleaned up successfully")
sublime.run_command("afi_patch_themes")
评论列表
文章目录