Skip to content

Commit

Permalink
base path lookup on OSX
Browse files Browse the repository at this point in the history
  • Loading branch information
Timothee Besset committed May 27, 2010
1 parent 3a8c3a2 commit f740a1a
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions uploader.py
Original file line number Diff line number Diff line change
Expand Up @@ -299,11 +299,13 @@ def createMonitor( self ):
# the Windows path tries some path reconstruction, but with only wine 32 bit it's probably easier to just go to the right path
eve_path = os.path.expanduser( '~/.wine/drive_c/Program Files/CCP/EVE' )
if ( not os.path.isdir( eve_path ) ):
logging.error( '%r doesn\'t exist. Base EVE install path not found.' % eve_path )
logging.error( '%r doesn\'t exist. Base EVE install not found.' % eve_path )
return
elif ( platform.system() == 'Darwin' ):
logging.error( 'TODO: EVE install path lookup on OSX' )
return
eve_path = '/Applications/EVE Online.app/Contents/Resources/transgaming/c_drive/Program Files/CCP/EVE'
if ( not os.path.isdir( eve_path ) ):
logging.error( '%r doesn\'t exist. Base EVE install not found.' % eve_path )
return

for installation in os.listdir( checkpath ):
installation_paths = os.path.join( checkpath, installation, 'cache', 'MachoNet', '87.237.38.200' )
Expand Down

0 comments on commit f740a1a

Please sign in to comment.