add iOS and macOS icons

This commit is contained in:
2019-09-23 18:06:20 +02:00
parent 3f28fd9229
commit cfdf428a9b
26 changed files with 173 additions and 38 deletions

View File

@@ -940,17 +940,13 @@ bool NodePanelBrushPreset::import_ppbr(const std::string& path)
return false;
}
bool NodePanelBrushPreset::import_abr(const std::string& path_in)
bool NodePanelBrushPreset::import_abr(const std::string& path)
{
BT_SetTerminate();
ABR abr;
LOG("ABR detected");
std::string path = path_in;
if (path_in.find(".abr") == std::string::npos)
path += ".abr";
std::string name, base, ext;
std::regex r(R"((.*)[\\/]([^\\/]+)\.(\w+)$)");
std::smatch m;