-
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.
I will only make a windows compiled executable for this release. + Added the ability to set a custom java location per instance.
- Loading branch information
calmilamsy
committed
Sep 5, 2019
1 parent
8fc9288
commit ab8aae9
Showing
6 changed files
with
74 additions
and
33 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 |
---|---|---|
@@ -1,24 +1,8 @@ | ||
echo Change the 4th line in this batch file to your python install. | ||
|
||
# CHANGE THIS TO WHAT YOUR PYTHON 3.6+ INSTALL IS (e.g.: C:\Program Files\python\scripts\python.exe | ||
export pythonver=python3 | ||
|
||
echo Is \"$pythonver\" the correct python 3.6+ directory? | ||
echo CTRL+C if incorrect. | ||
|
||
read -p "Press enter to continue..." | ||
|
||
echo Creating venv. | ||
$pythonver -m venv venv | ||
|
||
echo Activating venv. | ||
chmod a+x venv/bin/activate | ||
source venv/bin/activate | ||
|
||
echo Adding dependencies. | ||
pip install pyqt5 requests appdirs pyinstaller pypresence mitmproxy | ||
|
||
echo Using pyinstaller. | ||
pyinstaller -y -F -i "favicon.ico" --add-data "background.png":"." --add-data "logo.png":"." --add-data "favicon.ico":"." --add-data "blogbackground.png":"." --add-data "blog.html":"." --add-data "refresh.png":"." --add-data "venv/lib/python3.7/site-packages/mitmproxy/addons/onboardingapp":"mitmproxy/addons/onboardingapp" --add-data "EasyMineLauncher.jar":"." pymcl.py | ||
echo Complete! | ||
echo Done! | ||
read -p "Press enter to continue..." |
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 |
---|---|---|
@@ -1,15 +1,5 @@ | ||
@echo OFF | ||
|
||
echo Change the 4th line in this batch file to your python install. | ||
@rem CHANGE THIS TO WHAT YOUR PYTHON 3.6+ INSTALL IS (e.g.: C:\Program Files\python\scripts\python.exe | ||
set pythonver=python | ||
|
||
echo Is "%pythonver%" the correct python 3.6+ directory? | ||
echo Close the window if incorrect. | ||
PAUSE | ||
|
||
virtualenv venv | ||
|
||
echo Activating venv. && venv\scripts\activate && echo Adding dependencies. && pip install pyqt5 requests appdirs pypresence mitmproxy pyinstaller && echo Using pyinstaller. && pyinstaller -y -F -i "favicon.ico" --add-data "background.png";"." --add-data "logo.png";"." --add-data "favicon.ico";"." --add-data "blogbackground.png";"." --add-data "blog.html";"." --add-data "refresh.png";"." --add-data "venv\Lib\site-packages\mitmproxy\addons\onboardingapp";"mitmproxy\addons\onboardingapp" --add-data "EasyMineLauncher.jar";"." pymcl.py | ||
echo Complete! | ||
echo Activating venv. && venv\scripts\activate && echo Using pyinstaller. && pyinstaller -y -F -i "favicon.ico" --add-data "background.png";"." --add-data "logo.png";"." --add-data "favicon.ico";"." --add-data "blogbackground.png";"." --add-data "blog.html";"." --add-data "refresh.png";"." --add-data "venv\Lib\site-packages\mitmproxy\addons\onboardingapp";"mitmproxy\addons\onboardingapp" --add-data "EasyMineLauncher.jar";"." pymcl.py | ||
echo Done! | ||
PAUSE |
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 |
---|---|---|
|
@@ -278,7 +278,7 @@ | |
} | ||
} | ||
|
||
VER = "v0.6 Alpha Pre 4.2" | ||
VER = "v0.6 EOL" | ||
|
||
PRINT_INFO = True | ||
PRINT_WARN = True | ||
|
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
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,22 @@ | ||
echo Change the 4th line in this batch file to your python install. | ||
|
||
# CHANGE THIS TO WHAT YOUR PYTHON 3.6+ INSTALL IS (e.g.: C:\Program Files\python\scripts\python.exe | ||
export pythonver=python3 | ||
|
||
echo Is \"$pythonver\" the correct python 3.6+ directory? | ||
echo CTRL+C if incorrect. | ||
|
||
read -p "Press enter to continue..." | ||
|
||
echo Creating venv. | ||
$pythonver -m venv venv | ||
|
||
echo Activating venv. | ||
chmod a+x venv/bin/activate | ||
source venv/bin/activate | ||
|
||
echo Adding dependencies. | ||
pip install pyqt5 requests appdirs pyinstaller pypresence mitmproxy | ||
|
||
echo Done! | ||
read -p "Press enter to continue..." |
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,16 @@ | ||
@echo OFF | ||
|
||
echo Change the 5th line in this batch file to your python install. | ||
@rem CHANGE THIS TO WHAT YOUR PYTHON 3.6+ INSTALL IS (e.g.: C:\Program Files\python\scripts\python.exe | ||
set pythonver=python | ||
|
||
echo Is "%pythonver%" the correct python 3.6+ directory? | ||
echo Close the window if incorrect. | ||
PAUSE | ||
|
||
virtualenv venv | ||
|
||
echo Activating venv. && venv\scripts\activate && echo Adding dependencies. && pip install pyqt5 requests appdirs pypresence mitmproxy pyinstaller | ||
|
||
echo Done! | ||
PAUSE |