mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-11 23:19:01 +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:
|
||||
from cura.CuraVersion import CuraAppDisplayName # type: ignore
|
||||
if CuraAppDisplayName == "":
|
||||
CuraAppDisplayName = DEFAULT_CURA_DISPLAY_NAME
|
||||
if IsEnterpriseVersion:
|
||||
CuraAppDisplayName = DEFAULT_CURA_DISPLAY_NAME + " Enterprise"
|
||||
else:
|
||||
CuraAppDisplayName = DEFAULT_CURA_DISPLAY_NAME
|
||||
CuraAppDisplayName = CuraAppDisplayName + " Enterprise"
|
||||
|
||||
except ImportError:
|
||||
CuraAppDisplayName = DEFAULT_CURA_DISPLAY_NAME
|
||||
|
Loading…
x
Reference in New Issue
Block a user