From c2c7ce902b8ab189e07eef2979e35277e358b1cc Mon Sep 17 00:00:00 2001 From: ByeMC Date: Tue, 6 Apr 2021 12:19:39 +0100 Subject: [PATCH 1/2] Added line to make Unix OS'es use python when it runs via command line. (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)) --- main.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/main.py b/main.py index a4256fa..696e624 100644 --- a/main.py +++ b/main.py @@ -1,3 +1,6 @@ +#/usr/bin/env python3 +# Tells Unix operating systems to run with Python3 when it gets executed + import pygame, sys, time, random, colorsys, math from pygame.math import Vector2 from pygame.locals import * From 698454046cf80cf3f2db782816dcec78d7421717 Mon Sep 17 00:00:00 2001 From: ByeMC Date: Sat, 17 Apr 2021 14:24:02 +0100 Subject: [PATCH 2/2] Update main.py --- main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.py b/main.py index 696e624..79a35e5 100644 --- a/main.py +++ b/main.py @@ -1,4 +1,4 @@ -#/usr/bin/env python3 +#!/usr/bin/env python3 # Tells Unix operating systems to run with Python3 when it gets executed import pygame, sys, time, random, colorsys, math