hrszpuk / rectx

The powerful little project manager for the ReCT programming language!
GNU General Public License v3.0
6 stars 1 forks source link

Add cross-platform support #14

Closed mauro-balades closed 2 years ago

mauro-balades commented 2 years ago

Dear Remy.

I can see that you only have support with UNIX-like systems. One good idea is to use cross-platform support from the start. I have seen lines of codes such as:

https://github.com/hrszpuk/rectx/blob/master/src/manager.rs#L82-L84

that won't work in a Windows Operating System (Since they use the Inteligent\Path\main.rct). One option is to use the rust's built-in function std::path::join function.

here are some examples: https://stackoverflow.com/questions/67816016/how-to-get-path-join-in-rust

Have a good day 👍🏽

hrszpuk commented 2 years ago

This is a good idea. I'll add this to the v1.0.0 milestone and to the roadmap #1.

hrszpuk commented 2 years ago

I want to keep this issue open until a pull request triggers it to close or it is closed manually after the feature has been implemented.