We could just set the extension to .sh by default, and only explicitly set it to .bat if you're on Windows. But, if you ever want to raise an error and let the user know his OS is not supported, I guess this would be a good place to do it, anyway.
Not even sure extension needs to be specified, at least on Windows, this works fine:
We could just set the extension to .sh by default, and only explicitly set it to .bat if you're on Windows. But, if you ever want to raise an error and let the user know his OS is not supported, I guess this would be a good place to do it, anyway.
Not even sure extension needs to be specified, at least on Windows, this works fine:
Haven't tested on macOS/Linux, yet.