#NEWLINE# def __init__( self , name , data = None ) : #NEWLINE# #INDENT# self . full_name = name #NEWLINE# if ( data != None ) : #NEWLINE# #INDENT# if ( 'install_path' in data ) : #NEWLINE# #INDENT# self . install_path = data [ 'install_path' ] #NEWLINE# #UNINDENT# self . install_script = data [ 'install_script' ] #NEWLINE# self . launch_script = data [ 'launch_script' ] #NEWLINE# self . uninstall_script = data [ 'uninstall_script' ] #NEWLINE# if ( 'install_script_file' in data ) : #NEWLINE# #INDENT# self . install_script_file = data [ 'install_script_file' ] #NEWLINE# #UNINDENT# if ( 'uninstall_script_file' in data ) : #NEWLINE# #INDENT# self . uninstall_script_file = data [ 'uninstall_script_file' ] #NEWLINE# #UNINDENT# if ( 'online_id' in data ) : #NEWLINE# #INDENT# self . online_id = data [ 'online_id' ] #NEWLINE# #UNINDENT# if ( 'full_name' in data ) : #NEWLINE# #INDENT# self . full_name = data [ 'full_name' ] #NEWLINE# #UNINDENT# if ( 'released' in data ) : #NEWLINE# #INDENT# self . released = data [ 'released' ] #NEWLINE# #UNINDENT# if ( 'private_repository' in data ) : #NEWLINE# #INDENT# self . private = data [ 'private_repository' ] #NEWLINE# self . repo_url = data [ 'repository_url' ] #NEWLINE# #UNINDENT# self . emulation = data [ 'emulation' ] #NEWLINE# self . cover_url = data [ 'cover_url' ] #NEWLINE# self . compat = data [ 'compat' ]