Add Sys_OpenFolderInFileManager
This commit is contained in:
1 parent
5c242be241
commit
411f5a6924
5 files changed
+49
-1
No files matched your search
+16
-1
@@ -277,6 +277,22 @@ void Sys_InitPIDFile( const char *gamedir ) {
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
=================
|
||||
Sys_OpenFolderInFileManager
|
||||
=================
|
||||
*/
|
||||
qboolean Sys_OpenFolderInFileManager( const char *path, qboolean create )
|
||||
{
|
||||
if( create )
|
||||
{
|
||||
if( FS_CreatePath( path ) )
|
||||
return qfalse;
|
||||
}
|
||||
|
||||
return Sys_OpenFolderInPlatformFileManager( path );
|
||||
}
|
||||
|
||||
/*
|
||||
=================
|
||||
Sys_Exit
|
||||
@@ -880,4 +896,3 @@ int main( int argc, char **argv )
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user