Graveyard-Keeper-Savefile-Editor icon indicating copy to clipboard operation
Graveyard-Keeper-Savefile-Editor copied to clipboard

add some convenience for shell-users

Open ccwienk opened this issue 3 years ago • 2 comments

  • set executable bit (so shebang is actually honoured on UNIX-style OSs
  • calculate paths relative to main.py (do not depend on PWD)

ccwienk avatar Jan 06 '22 08:01 ccwienk

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 avatar Jan 09 '22 21:01 NetroScript

@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 :-)

ccwienk avatar Mar 30 '22 03:03 ccwienk