Repository navigation
Commit 29c595b
committed
Remove MigrationCleanup scheduled task entirely
With force-unmount + synchronous DelTree, the deferred cleanup task is
unnecessary. If DelTree can't delete some files (rare — process has a
handle open), the leftover files are inert: no service, no PATH entry,
no mounts reference them. Not worth the complexity of a SYSTEM-context
scheduled task.
Removes:
- gvfs-migration-cleanup.ps1 (script source)
- gvfs-migration-cleanup-task.xml.template (task XML template)
- BuildCleanupTaskXml MSBuild target + CleanupScriptsDir property
- CleanupTaskXml [Files] entry and /D define in ISCC invocation
- Fallback task registration in MigrateLegacyInstall()
Assisted-by: Claude Opus 4.6
Signed-off-by: Tyrie Vella <tyrielv@gmail.com>1 parent 1ad6f2f commit 29c595b
4 files changed
Lines changed: 4 additions & 256 deletions
File tree
- GVFS/GVFS.Installers
- scripts/cleanup
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | | - | |
9 | | - | |
10 | 8 | | |
11 | 9 | | |
12 | 10 | | |
| |||
32 | 30 | | |
33 | 31 | | |
34 | 32 | | |
35 | | - | |
36 | | - | |
37 | | - | |
38 | | - | |
39 | 33 | | |
40 | | - | |
| 34 | + | |
41 | 35 | | |
42 | 36 | | |
43 | 37 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
81 | 81 | | |
82 | 82 | | |
83 | 83 | | |
84 | | - | |
85 | | - | |
86 | | - | |
87 | 84 | | |
88 | 85 | | |
89 | 86 | | |
| |||
1308 | 1305 | | |
1309 | 1306 | | |
1310 | 1307 | | |
1311 | | - | |
1312 | | - | |
| 1308 | + | |
| 1309 | + | |
1313 | 1310 | | |
1314 | 1311 | | |
1315 | | - | |
1316 | | - | |
1317 | | - | |
1318 | | - | |
1319 | | - | |
1320 | | - | |
1321 | | - | |
1322 | | - | |
1323 | | - | |
1324 | | - | |
1325 | | - | |
| 1312 | + | |
1326 | 1313 | | |
1327 | 1314 | | |
1328 | 1315 | | |
| |||
This file was deleted.
This file was deleted.
0 commit comments