Skip to content

Commit

Permalink
remove unnecessary arm binaries from windows bundle
Browse files Browse the repository at this point in the history
They fail to extract unless using latest 7zip which is problematic
  • Loading branch information
adrianinsaval committed Jan 26, 2024
1 parent e3704cb commit de30f4d
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions conda/win/create_bundle.bat
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,10 @@ echo %freecad_version_name%
echo **********************


REM remove arm binaries that fails to extract unless using latest 7zip
for /r %conda_env% %i in (*arm*.exe) do @echo "%i will be removed"
for /r %conda_env% %i in (*arm*.exe) do @del "%i"

REM Copy Conda's Python and (U)CRT to FreeCAD/bin
robocopy %conda_env%\DLLs %copy_dir%\bin\DLLs /S /MT:%NUMBER_OF_PROCESSORS% > nul
robocopy %conda_env%\Lib %copy_dir%\bin\Lib /XD __pycache__ /S /MT:%NUMBER_OF_PROCESSORS% > nul
Expand Down

0 comments on commit de30f4d

Please sign in to comment.