mirror of
https://github.com/obsproject/obs-studio.git
synced 2026-09-24 23:31:36 +08:00
add GetDataFilePath implementation for osx
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user