13rac1 / twemoji-color-font

Twitter Unicode emoji color OpenType-SVG font for Linux/MacOS/Windows
Other
1.69k stars 73 forks source link

install.cmd: support pyenv, fix potential %CD% bugs #152

Open Tenrys opened 5 months ago

Tenrys commented 5 months ago

I was having a bunch of issues with the install script, and had to tweak the bat file a bit for my purposes, mainly because I was using pyenv for my Python versioning.

I had an issue where I had pip and ttx as .bat files in the environment, not .exe files, so they would make the script exit early after being called if not called with call.

Not entirely sure why I had to append %CD% where I did, though, some commands were ignoring the pushd command above.

I threw these changes rather hastily, so I'm putting them out here in order to discuss these sorts of issues and gather feedback, if there are any better solutions.

13rac1 commented 5 months ago

Thank you for this PR! I don't have any Windows systems to test this with nowadays. Can other Windows users test and confirm? Please use the Github review tool.