ogygia error
call_ arg_ in_ expression
‹call›: the first argument must be a static string literal, but it is part of a larger expression (near '‹near›…'). Use one plain string.
The build reads this call's first argument from the source. Here the string is joined with something else ('./' + dir, a .concat() call), which only has its value when the app runs. Write the whole string out.