Skip to content

EN: Track installed files to prevent accidental deletion of user files during uninstallation#7175

Merged
peircej merged 6 commits intopsychopy:devfrom
mdcutone:dev-bf-nsis-uninstall-file-tracking
Mar 27, 2025
Merged

EN: Track installed files to prevent accidental deletion of user files during uninstallation#7175
peircej merged 6 commits intopsychopy:devfrom
mdcutone:dev-bf-nsis-uninstall-file-tracking

Conversation

@mdcutone
Copy link
Copy Markdown
Member

This PR adds a script to the build pipeline which generates a NSIS script include which explicitly tracks and deletes files which we installed.

This is necessary to prevent users for deleting their own files if they install PsychoPy to a non-standard location containing other files.

@codecov
Copy link
Copy Markdown

codecov bot commented Mar 24, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 12.27%. Comparing base (14a2ab8) to head (7137c26).
Report is 13 commits behind head on dev.

Additional details and impacted files
@@           Coverage Diff           @@
##              dev    #7175   +/-   ##
=======================================
  Coverage   12.26%   12.27%           
=======================================
  Files         346      346           
  Lines       64006    63999    -7     
=======================================
+ Hits         7853     7854    +1     
+ Misses      56153    56145    -8     
Components Coverage Δ
app ∅ <ø> (∅)
boilerplate ∅ <ø> (∅)
library ∅ <ø> (∅)
vm-safe library ∅ <ø> (∅)
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@peircej peircej marked this pull request as ready for review March 27, 2025 09:26
@peircej peircej merged commit 7137c26 into psychopy:dev Mar 27, 2025
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants