Remove mount of desktop. Let smpackage mount if if it needs to.
This commit is contained in:
@@ -52,13 +52,11 @@ void ArchHooks::MountInitialFilesystems( const RString &sDirOfExecutable )
|
|||||||
|
|
||||||
RString sMyDocumentsDir = SpecialDirs::GetMyDocumentsDir();
|
RString sMyDocumentsDir = SpecialDirs::GetMyDocumentsDir();
|
||||||
RString sApplicationDataDir = SpecialDirs::GetApplicationDataDir();
|
RString sApplicationDataDir = SpecialDirs::GetApplicationDataDir();
|
||||||
RString sDesktopDir = SpecialDirs::GetDesktopDir();
|
|
||||||
|
|
||||||
// Mount everything game-writable (not counting the editor) to the user's directory.
|
// Mount everything game-writable (not counting the editor) to the user's directory.
|
||||||
FILEMAN->Mount( "dir", sApplicationDataDir + PRODUCT_ID + "/Cache", "/Cache" );
|
FILEMAN->Mount( "dir", sApplicationDataDir + PRODUCT_ID + "/Cache", "/Cache" );
|
||||||
FILEMAN->Mount( "dir", sMyDocumentsDir + PRODUCT_ID + "/Save", "/Save" );
|
FILEMAN->Mount( "dir", sMyDocumentsDir + PRODUCT_ID + "/Save", "/Save" );
|
||||||
FILEMAN->Mount( "dir", sMyDocumentsDir + PRODUCT_ID + "/Screenshots", "/Screenshots" );
|
FILEMAN->Mount( "dir", sMyDocumentsDir + PRODUCT_ID + "/Screenshots", "/Screenshots" );
|
||||||
FILEMAN->Mount( "dir", sDesktopDir, "/Desktop" );
|
|
||||||
}
|
}
|
||||||
|
|
||||||
static RString LangIdToString( LANGID l )
|
static RString LangIdToString( LANGID l )
|
||||||
|
|||||||
Reference in New Issue
Block a user