add linux support
This commit is contained in:
@@ -93,9 +93,7 @@ std::vector<std::string> Asset::list_files(std::string folder, const std::string
|
||||
std::string abs_path = folder;
|
||||
if (is_asset)
|
||||
{
|
||||
NSString* bundle_path = [[NSBundle mainBundle] resourcePath];
|
||||
std::string base = [bundle_path cStringUsingEncoding : 1];
|
||||
abs_path = base + "/" + folder;
|
||||
abs_path = absolute(folder);
|
||||
}
|
||||
|
||||
DIR *dp;
|
||||
|
||||
Reference in New Issue
Block a user