Graveyard-Keeper-Savefile-Editor
Graveyard-Keeper-Savefile-Editor copied to clipboard
add some convenience for shell-users
- set executable bit (so shebang is actually honoured on UNIX-style OSs
- calculate paths relative to main.py (do not depend on PWD)
Didn't think anyone would be using it outside as a tool from the current folder.
Changes perfectly fine with me, besides the one thing I commented on.
So I am just waiting for your response before merging.
@NetroScript : I removed the left-over. Note however, that this change is unfortunately not complete; the http-server would also need to be adjusted to not server from PWD
Didn't think anyone would be using it outside as a tool from the current folder.
yeah, it is a habbit of mine to both run basically everything from terminal, and also use different PWDs to find scripts that do not properly handle this case :-)