Describe the bug
When symlinked, tweego cannot find accompanying storyformats folder in binary directory.
To Reproduce
I symlinked the tweego binary into /usr/local/bin from ~/Binaries/tweego-2.1.1-macos-x64 on MacOS 11.7.4 in zsh. When running from a random folder tweego --help or tweego -v etc, I get the following error: Story format search directories not found.
Changing directory into the tweego folder and running those commands produces the expected output (e.g. help docs). Commands don't work when I'm in ~/Binaries. Commands work after copying ~/Binaries/tweego-2.1.1-macos-x64/storyformats into ~/Binaries
Expected behavior
Tweego should find the storyformats folder in its original directory regardless of working directory.
Screenshots
Testing with storyformats copied under ~/Binaries
Desktop (please complete the following information):
Describe the bug When symlinked, tweego cannot find accompanying
storyformats
folder in binary directory.To Reproduce I symlinked the tweego binary into
/usr/local/bin
from~/Binaries/tweego-2.1.1-macos-x64
on MacOS 11.7.4 in zsh. When running from a random foldertweego --help
ortweego -v
etc, I get the following error:Story format search directories not found.
Changing directory into the tweego folder and running those commands produces the expected output (e.g. help docs). Commands don't work when I'm in
~/Binaries
. Commands work after copying~/Binaries/tweego-2.1.1-macos-x64/storyformats
into~/Binaries
Expected behavior Tweego should find the
storyformats
folder in its original directory regardless of working directory.Screenshots
Testing with
storyformats
copied under~/Binaries
Desktop (please complete the following information):
Workaround Use TWEEGO_PATH: