-
Notifications
You must be signed in to change notification settings - Fork 6
/
Freeze_script.bat
83 lines (81 loc) · 2.91 KB
/
Freeze_script.bat
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
rmdir /s /q .\dist\HollowRC
rmdir /s /q .\build
rmdir /s /q .\HollowRC\__pycache__
del .\HollowRC.spec
:: call activate build_env2
pyinstaller ./HollowRC/main.py ^
--onedir --name=HollowRC ^
--icon=./HollowRC/resources/icon.ico ^
--upx-dir=%~dp0..\upx-3.95-win64 ^
--upx-exclude=vcruntime140.dll ^
--upx-exclude=msvcp140.dll ^
--upx-exclude=qwindows.dll ^
--upx-exclude=qwindowsvistastyle.dll ^
--paths=%~dp0\HollowRC
:: call deactivate
del .\dist\HollowRC\Qt5WebSockets.dll
del .\dist\HollowRC\_decimal.pyd
del .\dist\HollowRC\_lzma.pyd
del .\dist\HollowRC\_win32sysloader.pyd
del .\dist\HollowRC\HollowRC.exe.manifest
del .\dist\HollowRC\lib_arpack*
del .\dist\HollowRC\lib_blas_su*
del .\dist\HollowRC\lib_test_fo*
del .\dist\HollowRC\libansari*
del .\dist\HollowRC\libbanded5x*
del .\dist\HollowRC\libbispeu*
del .\dist\HollowRC\libblkdta*
del .\dist\HollowRC\libchkder*
del .\dist\HollowRC\libcobyla2*
del .\dist\HollowRC\libd_odr*
::del .\dist\HollowRC\libdcosqb*
del .\dist\HollowRC\libdcsrch*
del .\dist\HollowRC\libdet*
del .\dist\HollowRC\libdfft_sub*
del .\dist\HollowRC\libdfitpack*
del .\dist\HollowRC\libdgamln*
del .\dist\HollowRC\libdop853*
del .\dist\HollowRC\libdqag*
del .\dist\HollowRC\libgetbreak*
del .\dist\HollowRC\libGLESv2.dll
del .\dist\HollowRC\liblbfgsb*
del .\dist\HollowRC\libmvndst*
del .\dist\HollowRC\libnnls*
del .\dist\HollowRC\libslsqp_op*
del .\dist\HollowRC\libspecfun*
del .\dist\HollowRC\libvode*
del .\dist\HollowRC\libwrap_dum*
del .\dist\HollowRC\mfc140u.dll
del .\dist\HollowRC\Qt5DBus.dll
del .\dist\HollowRC\Qt5Quick.dll
del .\dist\HollowRC\Qt5VirtualKeyboard.dll
del .\dist\HollowRC\win32pdh.pyd
del .\dist\HollowRC\win32trace.pyd
del .\dist\HollowRC\win32ui.pyd
del .\dist\HollowRC\win32wnet.pyd
rmdir /s /q .\dist\HollowRC\win32com
rmdir /s /q .\dist\HollowRC\scipy
rmdir /s /q .\dist\HollowRC\lib2to3
rmdir /s /q .\dist\HollowRC\Include
rmdir /s /q .\dist\HollowRC\PySide2\translations
::rmdir /s /q .\dist\HollowRC\PySide2\PySide2
::del .\dist\HollowRC\PySide2\libEGL.dll
del .\dist\HollowRC\libEGL.dll
::del .\dist\HollowRC\PySide2\d3dcompiler_47.dll
del .\dist\HollowRC\d3dcompiler_47.dll
::del .\dist\HollowRC\PySide2\libGLESv2.dll
::del .\dist\HollowRC\PySide2\opengl32sw.dll
del .\dist\HollowRC\opengl32sw.dll
del .\dist\HollowRC\PySide2\QtNetwork.pyd
del .\dist\HollowRC\_multiprocessing.pyd
del .\dist\HollowRC\_hashlib.pyd
del .\dist\HollowRC\_bz2.pyd
del .\dist\HollowRC\PySide2\qt.conf
del .\dist\HollowRC\PySide2\plugins\platforms\qminimal.dll
del .\dist\HollowRC\PySide2\plugins\platforms\qoffscreen.dll
del .\dist\HollowRC\PySide2\plugins\platforms\qwebgl.dll
del .\dist\HollowRC\libopenblas.PYQHXLVVQ7VESDPUVUADXEVJOBGHJPAY.gfortran-win_amd64.dll
rmdir /s /q .\dist\HollowRC\PySide2\plugins\imageformats
rmdir /s /q .\dist\HollowRC\PySide2\plugins\iconengines
rmdir /s /q .\dist\HollowRC\PySide2\plugins\bearer
rmdir /s /q .\dist\HollowRC\importlib_metadata-0.23-py3.7.egg-info