Fix Windows auto updater file locking issue #12

Merged
Zephyron merged 1 commit from fix/windows-updater-helper into main 2025-11-01 09:19:19 +00:00
Owner

Implement deferred update mechanism using a helper batch script that applies
updates after the application exits, avoiding Windows file locking issues.

On Windows, the updater now:

  • Stages update files and creates a helper batch script
  • Launches the script as a detached process
  • Exits the application
  • The script waits for app closure, applies updates, and restarts Citron

Linux AppImage updates continue to work as before with the existing method.

Signed-off-by: Zephyron zephyron@citron-emu.org

Implement deferred update mechanism using a helper batch script that applies updates after the application exits, avoiding Windows file locking issues. On Windows, the updater now: - Stages update files and creates a helper batch script - Launches the script as a detached process - Exits the application - The script waits for app closure, applies updates, and restarts Citron Linux AppImage updates continue to work as before with the existing method. Signed-off-by: Zephyron <zephyron@citron-emu.org>
Implement deferred update mechanism using a helper batch script that applies
updates after the application exits, avoiding Windows file locking issues.

On Windows, the updater now:
- Stages update files and creates a helper batch script
- Launches the script as a detached process
- Exits the application
- The script waits for app closure, applies updates, and restarts Citron

Linux AppImage updates continue to work as before with the existing method.

Signed-off-by: Zephyron <zephyron@citron-emu.org>
Zephyron deleted branch fix/windows-updater-helper 2025-11-01 09:19:19 +00:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Citron/Emulator!12
No description provided.