Open THammami01 opened 1 year ago
Hey @THammami01 ,
You directly run mkdir dir_name
command without cmd /c
and it will work on almost all platforms.
Instead of using this:
Runtime.getRuntime().exec("cmd /c " + command);
Use this:
Runtime.getRuntime().exec(command);
That's great, @Sandeep-source. I know it's so basic, but I wanted someone to fix it. You can make the necessary changes and then create a PR. 🥳
It works well on Windows, however, the command that initializes the app's directories have to be altered in order to run on other operating systems.
Refer to these lines in
main.Main
: