trop[bot]
394d4cf60c
fix(squirrel.mac): clean up old staged updates before downloading new update ( #49638 )
...
fix: clean up old staged updates before downloading new update
When checkForUpdates() is called while an update is already staged,
Squirrel creates a new temporary directory for the download without
cleaning up the old one. This can lead to disk usage growth when
new versions are released while the app hasn't restarted.
This adds a force parameter to pruneUpdateDirectories that bypasses
the AwaitingRelaunch state check. This is called before creating a
new temp directory, ensuring old staged updates are cleaned up.
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: Andy Locascio <loc@anthropic.com >
2026-02-04 18:54:03 +01:00
..
2026-02-02 14:22:04 +01:00
2026-02-02 14:22:04 +01:00
2025-08-29 12:31:47 +09:00
2025-07-08 15:20:56 +02:00
2024-09-27 10:17:06 +09:00
2025-11-24 16:59:42 -05:00
2026-01-28 22:11:08 +01:00
2024-10-02 19:10:44 -07:00
2026-02-04 18:54:03 +01:00
2026-02-02 14:22:04 +01:00
2025-08-28 10:31:41 +02:00
2025-10-21 10:49:08 -04:00
2024-10-02 19:10:44 -07:00
2025-02-14 10:18:42 +01:00
2025-11-04 09:52:30 +01:00
2025-07-16 08:39:17 -07:00
2024-10-02 19:10:44 -07:00
2024-11-20 08:55:09 -06:00
2025-06-16 12:46:06 -05:00
2024-10-02 19:10:44 -07:00
2025-05-06 14:09:35 -04:00
2025-05-29 10:24:16 -07:00
2024-10-02 19:10:44 -07:00
2024-11-18 14:44:30 -08:00
2024-11-18 14:44:30 -08:00
2025-11-04 09:52:30 +01:00
2025-02-21 10:17:52 -06:00
2025-04-22 10:58:30 +02:00
2025-05-06 14:09:35 -04:00
2025-11-10 21:18:00 +01:00
2025-04-10 12:08:29 +02:00
2024-10-02 19:10:44 -07:00
2024-10-02 19:10:44 -07:00
2024-10-02 19:10:44 -07:00
2025-05-30 15:28:13 -04:00
2025-11-24 16:59:42 -05:00
2024-10-02 19:10:44 -07:00
2025-11-24 16:59:42 -05:00
2024-10-02 19:10:44 -07:00
2025-03-09 17:37:14 -05:00
2025-11-13 10:36:25 -05:00
2024-10-02 19:10:44 -07:00
2024-10-02 19:10:44 -07:00
2025-03-14 21:00:13 -04:00
2025-01-31 09:32:45 -05:00
2025-07-23 10:37:24 +02:00
2025-11-24 16:59:42 -05:00
2026-01-26 14:29:56 +01:00
2025-07-14 13:42:37 -07:00
2025-10-21 14:26:30 -04:00
2024-10-02 19:10:44 -07:00
2025-08-07 19:25:50 +02:00
2025-08-09 09:47:47 +02:00
2025-11-14 10:57:24 -05:00
2025-11-24 16:59:42 -05:00
2025-08-29 12:31:47 +09:00
2025-10-28 11:17:29 -04:00
2025-07-14 13:42:37 -07:00
2026-01-12 11:23:31 -05:00
2024-10-02 19:10:44 -07:00
2024-10-02 19:10:44 -07:00
2024-11-15 11:36:18 -05:00
2024-10-02 19:10:44 -07:00
2026-01-13 19:09:12 -05:00
2025-08-27 09:30:50 +09:00
2025-03-25 19:33:10 +09:00
2024-10-02 19:10:44 -07:00
2024-04-30 21:13:38 -04:00
2025-10-08 10:44:09 +02:00
2025-07-21 09:32:53 -07:00
2024-10-02 19:10:44 -07:00
2024-06-21 10:31:10 -04:00
2025-08-05 14:56:33 +02:00
2025-08-29 12:31:47 +09:00
2025-05-02 16:27:29 -05:00
2025-08-09 09:47:47 +02:00
2025-04-08 07:09:54 -05:00
2026-01-28 22:11:08 +01:00
2024-10-02 19:10:44 -07:00
2022-08-16 15:23:13 -04:00
2024-10-02 19:10:44 -07:00
2025-12-15 14:40:56 -05:00
2024-10-18 16:07:06 -04:00
2025-11-24 16:59:42 -05:00
2023-01-18 14:46:27 +01:00
2025-12-15 14:40:56 -05:00
2024-12-12 11:51:24 -05:00
2025-09-24 13:35:14 -07:00