|
|
* scores. It would need to handle permissions properly. */ | * scores. It would need to handle permissions properly. */ |
/* RageFileManager::Mount( "dir", "/var/lib/games/stepmania", "Data/Profiles" ); */ | /* RageFileManager::Mount( "dir", "/var/lib/games/stepmania", "Data/Profiles" ); */ |
| |
// CString Home = getenv( "HOME" ) + "/" + PRODUCT_NAME; |
CString Home = ssprintf( "%s/%s", getenv( "HOME" ), PACKAGE ); |
| |
/* | /* |
* Next: path to write general mutable user data. If the above path fails (eg. | * Next: path to write general mutable user data. If the above path fails (eg. |
|
|
if( Root == "" ) | if( Root == "" ) |
RageException::Throw( "Couldn't find \"Songs\"" ); | RageException::Throw( "Couldn't find \"Songs\"" ); |
| |
RageFileManager::Mount( "dir", Root, "" ); |
RageFileManager::Mount( "dir", Home, "" ); |
|
RageFileManager::Mount( "dir", "/usr/share/games/stepmania", "" ); |
#elif defined(_WINDOWS) | #elif defined(_WINDOWS) |
/* All Windows data goes in the directory one level above the executable. */ | /* All Windows data goes in the directory one level above the executable. */ |
CHECKPOINT_M( ssprintf( "DOE \"%s\"", DirOfExecutable.c_str()) ); | CHECKPOINT_M( ssprintf( "DOE \"%s\"", DirOfExecutable.c_str()) ); |