[Pymoul-svn] SF.net SVN: pymoul: [273] pymoul/trunk/src/moul/osdependent/darwin/__init__ .py
Status: Alpha
Brought to you by:
tiran
From: <ti...@us...> - 2007-03-21 12:28:35
|
Revision: 273 http://pymoul.svn.sourceforge.net/pymoul/?rev=273&view=rev Author: tiran Date: 2007-03-21 05:28:30 -0700 (Wed, 21 Mar 2007) Log Message: ----------- grrr ... I thought that .../UruLive Preferences/... was wrong Also fixed the getMoulInstallDir search function. Now it should detect MOUL in /Applications and ~/Applications Modified Paths: -------------- pymoul/trunk/src/moul/osdependent/darwin/__init__.py Modified: pymoul/trunk/src/moul/osdependent/darwin/__init__.py =================================================================== --- pymoul/trunk/src/moul/osdependent/darwin/__init__.py 2007-03-20 18:59:01 UTC (rev 272) +++ pymoul/trunk/src/moul/osdependent/darwin/__init__.py 2007-03-21 12:28:30 UTC (rev 273) @@ -31,7 +31,7 @@ LOG.warning('Mac/Darwin support is experimental') HOME = os.path.expanduser('~') -MOUL_DIR = "%s/Library/Preferences/UruLive/Preferences/p_drive/My Documents/Uru Live" % HOME +MOUL_DIR = "%s/Library/Preferences/UruLive Preferences/p_drive/My Documents/Uru Live" % HOME APP_PATH = "Uru Live.app/Contents/Resources/Game.app/Contents/Resources/transgaming/c_drive/Program Files/Uru Live/" APP_NAME = "Uru Live.app" EXEC_NAME = "???" # XXX @@ -59,7 +59,7 @@ """Get path to MOUL install dir """ for path in LOCATIONS: - if os.path.isfile(os.path.join(path, EXEC_NAME)): + if os.path.isfile(os.path.join(path, UPDATER)): LOG.info("Uru directory found: %s" % path) return path LOG.warning("Uru directory NOT found! Search path was: \n %s" % This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |