-
Rikka authored
prebuilt/windows-x86_64/bin/libpython2.7.dll prebuilt/windows-x86_64/lib/python2.7/config/libpython2.7.dll.a These two files in NDK has read-only attribute on Windows, remove these files with Python will get "WindowsError: [Error 5] Access is denied". It will finally make "build.py ndk" unable to remove the "magisk" folder. This commit add a onerror callback for "shutil.rmtree" which clear the "read-only" attribute and retry.