-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
51 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
import os | ||
import sys | ||
import time | ||
|
||
# GhostSim auto-installer script | ||
# Created by: Isaaker | ||
|
||
print (""" | ||
██████╗ ██╗ ██╗ ██████╗ ███████╗████████╗███████╗██╗███╗ ███╗ ██╗███╗ ██╗███████╗████████╗ █████╗ ██╗ ██╗ ███████╗██████╗ | ||
██╔════╝ ██║ ██║██╔═══██╗██╔════╝╚══██╔══╝██╔════╝██║████╗ ████║ ██║████╗ ██║██╔════╝╚══██╔══╝██╔══██╗██║ ██║ ██╔════╝██╔══██╗ | ||
██║ ███╗███████║██║ ██║███████╗ ██║ ███████╗██║██╔████╔██║ ██║██╔██╗ ██║███████╗ ██║ ███████║██║ ██║ █████╗ ██████╔╝ | ||
██║ ██║██╔══██║██║ ██║╚════██║ ██║ ╚════██║██║██║╚██╔╝██║ ██║██║╚██╗██║╚════██║ ██║ ██╔══██║██║ ██║ ██╔══╝ ██╔══██╗ | ||
╚██████╔╝██║ ██║╚██████╔╝███████║ ██║ ███████║██║██║ ╚═╝ ██║ ██║██║ ╚████║███████║ ██║ ██║ ██║███████╗███████╗███████╗██║ ██║ | ||
╚═════╝ ╚═╝ ╚═╝ ╚═════╝ ╚══════╝ ╚═╝ ╚══════╝╚═╝╚═╝ ╚═╝ ╚═╝╚═╝ ╚═══╝╚══════╝ ╚═╝ ╚═╝ ╚═╝╚══════╝╚══════╝╚══════╝╚═╝ ╚═╝ | ||
""") | ||
print ("GhostSim auto-installer script") | ||
print ("Created by: Isaaker") | ||
print ("") | ||
print ("[For more info visit: https://github.com/Isaaker/Ghost_Simulator_ES/wiki]") | ||
|
||
time.sleep(1) | ||
|
||
print ("") | ||
print ("Obtaining the requirements...") | ||
file_requirements="./requirements.txt" | ||
if os.path.exists('file_requirements'): | ||
if file_requirements.redable(): | ||
open("file_requirements", mode="r") | ||
else: | ||
print ("""Requirements file is not redable: You can fix this re-downloading the code: | ||
> git clone https://github.com/Isaaker/piscinadeentropia.git | ||
> wget https://github.com/Isaaker/piscinadeentropia/archive/refs/heads/main.zip | ||
> curl -O https://github.com/Isaaker/piscinadeentropia/archive/refs/heads/main.zip""") | ||
exit (1) | ||
else: | ||
print ("""Requirements file not found: You can fix this re-downloading the code: | ||
> git clone https://github.com/Isaaker/piscinadeentropia.git | ||
> wget https://github.com/Isaaker/piscinadeentropia/archive/refs/heads/main.zip | ||
> curl -O https://github.com/Isaaker/piscinadeentropia/archive/refs/heads/main.zip""") | ||
exit (1) | ||
|
||
print ("") | ||
print ("Checking for compliance with requirements...") | ||
readLine | ||
|
||
|
||
print ("Checking for Python3 version...") | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
python3=3.12.0 | ||
pip3=23.3.1 | ||
Flask=3.0.0 |