From 793430fa7a92e332597b5bfd3a7c9ccc7eabf9e5 Mon Sep 17 00:00:00 2001 From: Remco Burema Date: Wed, 6 Jan 2021 12:16:08 +0100 Subject: [PATCH] Add documentation. What is an 'alternate version'? --- cura/ApplicationMetadata.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/cura/ApplicationMetadata.py b/cura/ApplicationMetadata.py index 6399e7a757..6b7c859b10 100644 --- a/cura/ApplicationMetadata.py +++ b/cura/ApplicationMetadata.py @@ -47,6 +47,9 @@ except ImportError: __ENTERPRISE_VERSION_TYPE = "enterprise" IsEnterpriseVersion = CuraBuildType.lower() == __ENTERPRISE_VERSION_TYPE IsAlternateVersion = CuraBuildType.lower() not in [DEFAULT_CURA_BUILD_TYPE, __ENTERPRISE_VERSION_TYPE] +# NOTE: IsAlternateVersion is to make it possibile to have 'non-numbered' versions, at least as presented to the user. +# (Internally, it'll still have some sort of version-number, but the user is never meant to see it in the GUI). +# Warning: This will also change (some of) the icons/splash-screen to the 'work in progress' alternatives! try: from cura.CuraVersion import CuraAppDisplayName # type: ignore