prevent OS X Desktop directory from being created
As of commit dd0896d3eb, a "StepMania 5" directory is searched for at ~/Desktop and created if one is not found. It doesn't seem that directory is ever used in any way, however, causing confusion and annoyance for OS X users.
See: http://www.stepmania.com/forums/general-questions/show/1893
This commit is contained in:
@@ -443,8 +443,8 @@ void ArchHooks::MountUserFilesystems( const RString &sDirOfExecutable )
|
|||||||
FILEMAN->Mount( "dir", ssprintf("%s/Logs/" PRODUCT_ID, dir), "/Logs" );
|
FILEMAN->Mount( "dir", ssprintf("%s/Logs/" PRODUCT_ID, dir), "/Logs" );
|
||||||
|
|
||||||
// /Desktop -> /Users/<user>/Desktop/PRODUCT_ID
|
// /Desktop -> /Users/<user>/Desktop/PRODUCT_ID
|
||||||
PathForFolderType( dir, kDesktopFolderType );
|
// PathForFolderType( dir, kDesktopFolderType );
|
||||||
FILEMAN->Mount( "dir", ssprintf("%s/" PRODUCT_ID, dir), "/Desktop" );
|
// FILEMAN->Mount( "dir", ssprintf("%s/" PRODUCT_ID, dir), "/Desktop" );
|
||||||
}
|
}
|
||||||
|
|
||||||
static inline int GetIntValue( CFTypeRef r )
|
static inline int GetIntValue( CFTypeRef r )
|
||||||
|
|||||||
Reference in New Issue
Block a user