PolyMarsDev / Flappuccino

A Pygame game made in 48 hours
354 stars 127 forks source link

Added line to make Unix OSes use python when it runs via command line. #15

Open byemc opened 3 years ago

byemc commented 3 years ago

(to run the file you need to type chmod +x main.py into a Unix terminal open in the folder with Flappucchino, then use ./main.py to open it afterwards (you only need to run chmod once))

firefish111 commented 3 years ago

#/usr/bin/env

Isn't it meant to be #!? Correct me if I'm wrong.

byemc commented 3 years ago

#/usr/bin/env

Isn't it meant to be #!? Correct me if I'm wrong.

Oh right, thanks for that!

fel1x0u commented 3 years ago

Looked at the code you added in, it will work. (I did not test it)