mirror of
https://github.com/obsproject/obs-studio.git
synced 2024-09-20 04:42:18 +02:00
add GetDataFilePath implementation for osx
This commit is contained in:
parent
467362f584
commit
fd5b00871f
@ -18,8 +18,12 @@
|
||||
#include <sstream>
|
||||
#include "platform.hpp"
|
||||
|
||||
#include <unistd.h>
|
||||
|
||||
bool GetDataFilePath(const char *data, string &output)
|
||||
{
|
||||
// TODO
|
||||
return false;
|
||||
stringstream str;
|
||||
str << "../data/obs-studio/" << data;
|
||||
output = str.str();
|
||||
return !access(output.c_str(), R_OK);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user