+1

Package Upgrade exception

Artem Shoobovych 7 лет назад 0

I encountered a problem when Sublime does not start if package upgrade failed for some reason. Fixed with this code at PackageSetup.py:


def upgrade(appdir, userdir, pristinedir, datadir, backupdir):

    packages = (glob.glob(appdir + "/*.sublime-package") +

    glob.glob(userdir + "/*.sublime-package"))

    for pkg in packages:

        try:

            upgradePackage(pkg, pristinedir, datadir, backupdir)

        except:

            pass

Сервис поддержки клиентов работает на платформе UserEcho