Updated ascii2img to be cross python3

This commit is contained in:
Samuel
2018-03-22 18:44:33 +08:00
parent 5035afad6a
commit 915b70455d
3 changed files with 6 additions and 1 deletions

Binary file not shown.

1
ascii2img/cat Normal file
View File

@@ -0,0 +1 @@
#!/usr/bin/env python3 -

View File

@@ -1 +1,5 @@
pex . -c __main__.py -o ascii2img
pex --python=python3 . -c __main__.py -o ascii2img
echo '#!/usr/bin/env python3' | cat - ascii2img > ascii2img.new
rm ascii2img
mv ascii2img.new ascii2img
chmod +x ascii2img