Update Adobe2020Versioner.py
Allow the user to provide a display_name string that prevents CreativeCloudVersioner from overriding it.
@@ -296,10 +296,13 @@ class Adobe2020Versioner(Processor):
self.env['version'] = app_version
pkginfo = {
- 'display_name': self.env['display_name'],
'minimum_os_version': self.env['MINIMUM_OS_VERSION']
}
+ # Allow the user to provide a display_name string that prevents CreativeCloudVersioner from overriding it.
+ if 'pkginfo' not in self.env or 'display_name' not in self.env['pkginfo']:
+ pkginfo['display_name'] = self.env['display_name']
+
if 'pkginfo' not in self.env or 'installs' not in self.env['pkginfo']:
pkginfo['installs'] = [{
self.env['vers_compare_key']: self.env['version'],
