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:
Dan Guzek
2015-02-23 17:03:16 -05:00
parent bde705ab0b
commit 042c9fbcd8
+2 -2
View File
@@ -443,8 +443,8 @@ void ArchHooks::MountUserFilesystems( const RString &sDirOfExecutable )
FILEMAN->Mount( "dir", ssprintf("%s/Logs/" PRODUCT_ID, dir), "/Logs" );
// /Desktop -> /Users/<user>/Desktop/PRODUCT_ID
PathForFolderType( dir, kDesktopFolderType );
FILEMAN->Mount( "dir", ssprintf("%s/" PRODUCT_ID, dir), "/Desktop" );
// PathForFolderType( dir, kDesktopFolderType );
// FILEMAN->Mount( "dir", ssprintf("%s/" PRODUCT_ID, dir), "/Desktop" );
}
static inline int GetIntValue( CFTypeRef r )