Add Sys_OpenFolderInFileManager
This commit is contained in:
1 parent
5c242be241
commit
411f5a6924
5 files changed
+49
-1
No files matched your search
@@ -915,3 +915,13 @@ Check if filename should be allowed to be loaded as a DLL.
|
||||
qboolean Sys_DllExtension( const char *name ) {
|
||||
return COM_CompareExtension( name, DLL_EXT );
|
||||
}
|
||||
|
||||
/*
|
||||
==============
|
||||
Sys_OpenFolderInPlatformFileManager
|
||||
==============
|
||||
*/
|
||||
qboolean Sys_OpenFolderInPlatformFileManager( const char *path )
|
||||
{
|
||||
return ShellExecute( NULL, "explore", path, NULL, NULL, SW_SHOWDEFAULT ) > (HINSTANCE)32;
|
||||
}
|
||||
Reference in new issue
Block a user