mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-18 20:28:01 -06:00
Make API version configuration for Application
CURA-5840
This commit is contained in:
parent
44954c4cad
commit
75f2f40534
4 changed files with 6 additions and 11 deletions
|
@ -133,7 +133,7 @@ except ImportError:
|
|||
CuraVersion = "master" # [CodeStyle: Reflecting imported value]
|
||||
CuraBuildType = ""
|
||||
CuraDebugMode = False
|
||||
CuraSDKVersion = ""
|
||||
CuraSDKVersion = "5.0.0"
|
||||
|
||||
|
||||
class CuraApplication(QtApplication):
|
||||
|
@ -162,6 +162,7 @@ class CuraApplication(QtApplication):
|
|||
def __init__(self, *args, **kwargs):
|
||||
super().__init__(name = "cura",
|
||||
version = CuraVersion,
|
||||
api_version = CuraSDKVersion,
|
||||
buildtype = CuraBuildType,
|
||||
is_debug_mode = CuraDebugMode,
|
||||
tray_icon_name = "cura-icon-32.png",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue