(self, dir)
Detects the .uproject descriptor file for the Unreal project in the specified directory
Detects the .uproject descriptor file for the Unreal project in the specified directory
Detects the . uproject descriptor file for the Unreal project in the specified directory
def getProjectDescriptor(self, dir):
		"""
		Detects the .uproject descriptor file for the Unreal project in the specified directory
		"""
		for project in glob.glob(os.path.join(dir, '*.uproject')):
			return os.path.realpath(project)
		
		# No project detected
		raise UnrealManagerException('could not detect an Unreal project in the current directory')
def getProjectDescriptor ( self , dir ) : for project in glob . glob ( os . path . join ( dir , '*.uproject' ) ) : return os . path . realpath ( project ) # No project detected raise UnrealManagerException ( 'could not detect an Unreal project in the current directory' )