mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-14 06:55:54 +08:00
Refactor: Add "Enterprise" to the app display name.
CURA-7011
This commit is contained in:
parent
2e4ee73d2f
commit
171609f9de
@ -50,9 +50,9 @@ IsEnterpriseVersion = CuraBuildType.lower() == __ENTERPRISE_VERSION_TYPE
|
|||||||
try:
|
try:
|
||||||
from cura.CuraVersion import CuraAppDisplayName # type: ignore
|
from cura.CuraVersion import CuraAppDisplayName # type: ignore
|
||||||
if CuraAppDisplayName == "":
|
if CuraAppDisplayName == "":
|
||||||
if IsEnterpriseVersion:
|
|
||||||
CuraAppDisplayName = DEFAULT_CURA_DISPLAY_NAME + " Enterprise"
|
|
||||||
else:
|
|
||||||
CuraAppDisplayName = DEFAULT_CURA_DISPLAY_NAME
|
CuraAppDisplayName = DEFAULT_CURA_DISPLAY_NAME
|
||||||
|
if IsEnterpriseVersion:
|
||||||
|
CuraAppDisplayName = CuraAppDisplayName + " Enterprise"
|
||||||
|
|
||||||
except ImportError:
|
except ImportError:
|
||||||
CuraAppDisplayName = DEFAULT_CURA_DISPLAY_NAME
|
CuraAppDisplayName = DEFAULT_CURA_DISPLAY_NAME
|
||||||
|
Loading…
x
Reference in New Issue
Block a user