Add Mac functionality
This commit is contained in:
@@ -112,6 +112,11 @@ end
|
||||
function path = composeStoragePath(storagePath, relativePath)
|
||||
relativePath = firstValue(relativePath);
|
||||
path = char(string(storagePath) + string(relativePath));
|
||||
if ismac
|
||||
path = strrep(path,'\','/');
|
||||
else
|
||||
path = strrep(path,'/','\');
|
||||
end
|
||||
end
|
||||
|
||||
function value = firstValue(value)
|
||||
|
||||
Reference in New Issue
Block a user