mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-05-03 01:04:35 +08:00
Update plugin metadata to the new format
This commit is contained in:
parent
b158e65839
commit
a7ed3ae2ae
@ -4,7 +4,12 @@ from . import CuraEngineBackend
|
|||||||
from UM.Preferences import Preferences
|
from UM.Preferences import Preferences
|
||||||
|
|
||||||
def getMetaData():
|
def getMetaData():
|
||||||
return { "name": "CuraEngine Backend", "type": "Backend" }
|
return {
|
||||||
|
'type': 'backend',
|
||||||
|
'plugin': {
|
||||||
|
'name': "CuraEngine Backend"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
def register(app):
|
def register(app):
|
||||||
Preferences.addPreference("BackendLocation","../PinkUnicornEngine/CuraEngine")
|
Preferences.addPreference("BackendLocation","../PinkUnicornEngine/CuraEngine")
|
||||||
|
Loading…
x
Reference in New Issue
Block a user