forked from PushpenderIndia/Sinister
-
Notifications
You must be signed in to change notification settings - Fork 0
/
installer_linux.sh
24 lines (19 loc) · 907 Bytes
/
installer_linux.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
rm /var/lib/dpkg/lock
rm /var/cache/apt/archives/lock
rm /var/lib/apt/lists/lock
sudo dpkg --add-architecture i386
sudo apt-get update
sudo apt-get install -y wine32 python3-pip pyinstaller
#Downloading Required Executables
wget https://www.python.org/ftp/python/3.7.4/python-3.7.4.exe
wget https://github.com/mhammond/pywin32/releases/download/b227/pywin32-227.win32-py3.7.exe
#Installing Executables in Wine
wine msiexec /i python-3.7.4.exe
wine pywin32-227.win32-py3.7.exe
#Installing Dependencies [Python Modules] in Wine
sudo wine ~/.wine/drive_c/Python37/python.exe -m pip install pyinstaller mss==4.0.3 essential_generators==0.9.2 six==1.12.0 python-xlib==0.25 win32gui pywin32
#Installing Dependencies in Linux
sudo python3 -m pip install mss==4.0.3
sudo python3 -m pip install essential_generators==0.9.2
sudo python3 -m pip install six==1.12.0
sudo python3 -m pip install python-xlib==0.25