Closed glowiak closed 10 months ago
Thanks for the changes. it would be nice for Windows too
@GuvaCode Yes, but there is a problem.
In Linux when you install fpc, it is available in $PATH, while in windows most frequently it is not.
And unlike in Linux, where you will 100% find it in /usr/bin, on windows the binary can be anywhere.
An update to the previous commit.
Now the wrapper can be executed from anywhere, and it will find the necessary files itself. Also now there is a strict bash shebang, as some especially Debian-based distros use the stupid "dash" as /bin/sh, and apparently dash is incompatible with bash. Also now it detects if fpc is not present, and prints an error message.
Also added a note in the readme about manual installation.