Skip to content

Commit 303d2ac

Browse files
author
Tyler887
authored
Update action.yml
1 parent 4ceea56 commit 303d2ac

File tree

1 file changed

+27
-2
lines changed

1 file changed

+27
-2
lines changed

action.yml

Lines changed: 27 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,30 @@ branding:
55
color: yellow
66

77
runs:
8-
using: docker
9-
image: Dockerfile
8+
using: composite
9+
steps:
10+
- run: echo "Welcome to Eat Installer!"
11+
shell: bash
12+
- run: echo "You are running the official setup script written in"
13+
shell: bash
14+
- run: echo "shell-script. Please wait while we clone the main branch..."
15+
shell: bash
16+
- run: gh repo clone EatInstall/Eat
17+
shell: bash
18+
- run: |
19+
cd Eat
20+
echo "Installing PyInstaller..."
21+
pip install pyinstaller
22+
echo "Installing UPX..."
23+
sudo apt-get update
24+
sudo apt-get install upx -y
25+
echo "Compiling eat.py"
26+
pyinstaller --console --name "eat" "eat.py"
27+
echo "Compiling eat-install.py"
28+
pyinstaller --console --name "eatinst" "eat-install.py"
29+
echo "Installing..."
30+
sudo chmod +x eatinst
31+
sudo chmod +x eat
32+
sudo install eat /usr/bin/eat
33+
sudo install eatinst /usr/bin/eatinst
34+
- run: echo "Eat has been installed."

0 commit comments

Comments
 (0)