mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-05-22 20:50:37 +08:00

The theme 'cura' was renamed to 'cura-light', so that needs to be updated in the user's preferences. Contributes to issue CURA-4148.
24 lines
663 B
Python
24 lines
663 B
Python
# Copyright (c) 2017 Ultimaker B.V.
|
|
# Cura is released under the terms of the AGPLv3 or higher.
|
|
|
|
from . import VersionUpgrade27to30
|
|
|
|
upgrade = VersionUpgrade27to30.VersionUpgrade27to30()
|
|
|
|
def getMetaData():
|
|
return {
|
|
"version_upgrade": {
|
|
# From To Upgrade function
|
|
("preferences", 4000002): ("preferences", 5000002, upgrade.upgradePreferences),
|
|
},
|
|
"sources": {
|
|
"preferences": {
|
|
"get_version": upgrade.getCfgVersion,
|
|
"location": {"."}
|
|
},
|
|
}
|
|
}
|
|
|
|
def register(app):
|
|
return { "version_upgrade": upgrade }
|