dennisvang / tufup

Automated updates for stand-alone Python applications.
MIT License
71 stars 1 forks source link

add purge_extract_dir option to Client #91

Open dennisvang opened 8 months ago

dennisvang commented 8 months ago

This uses a purge.manifest file to prevent accidental deletion of unrelated files...

Note: Perhaps this is too complicated? Should we simply rely on a namespaced extract_dir?

fixes #56

dennisvang commented 8 months ago

Again with the aliases on windows:

C:\Users\runneradmin\... vs C:\Users\RUNNER~1\...

and on macOS:

/private/var/folders/3s/... vs /var/folders/3s/...

Path.resolve() to the rescue.

See https://github.com/dennisvang/tufup/pull/78#issuecomment-1706646830