When the front end has been separated from the backend before the version 2.0, the path functions (join, basename, etc.) has been reimplemented in the front end.
It was very bad idea, because the implementation is not rigorous and the same functions is available in the backend.
So, we need remove the path functions from the front end and use the path function from the backend. We need use window.api to communicate between the front and the backend.
Note: With the transfert of data management in the backend (therefore deleting the global state), the manipulation of the path will be maybe transfert in the backend. If it's the case, this task could be useless.
Description
When the front end has been separated from the backend before the version 2.0, the path functions (join, basename, etc.) has been reimplemented in the front end. It was very bad idea, because the implementation is not rigorous and the same functions is available in the backend.
So, we need remove the path functions from the front end and use the path function from the backend. We need use window.api to communicate between the front and the backend.
Note: With the transfert of data management in the backend (therefore deleting the global state), the manipulation of the path will be maybe transfert in the backend. If it's the case, this task could be useless.