nvda
02ec69cd - Ensure installer code does not incorrectly remove libs when creating a portable copy / updating an installed copy.

Commit
157 days ago
Ensure installer code does not incorrectly remove libs when creating a portable copy / updating an installed copy. specific changes: * nvdaHelper and setup.py: binary copies of NVDA now store libs in lib/{version}/{architecture} rather than lib/{architecture}/{version}. This allows again for correct removal of lib/* where * does not equal current version.. * installer.removeOldLibFiles: ensure that subdirectories of the current versioned lib dir are also skipped from removal, not just the versioned lib dir itself. Previously this dir only contained files, not directories. Testing: Built NvDA as 64 bit. Ran the launcher. Created a portable copy. Ensure the lib dir contained all needed libs and that the portable copy runs. Placed some random directories / files within the lib dir. Created another portable copy over the top, and ensured that those random extra directories / files wer removed, but the current version stayed.
Parents
Loading