Add Mac functionality

This commit is contained in:
2026-07-14 12:20:21 +02:00
parent 8c4edf2490
commit b068400cb5
3 changed files with 24 additions and 9 deletions

View File

@@ -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)