Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Delete cached APK after patching #2331

Merged
merged 3 commits into from
Dec 24, 2024
Merged

fix: Delete cached APK after patching #2331

merged 3 commits into from
Dec 24, 2024

Conversation

BenjaminHalko
Copy link
Member

@BenjaminHalko BenjaminHalko commented Nov 30, 2024

Instead of deleting the cached APK from the file picker before patching, the manager will now only delete it after patching.

Instead of deleting the cached APK from the file picker **before** patching, the manager will only delete it **after** patching
@kitadai31
Copy link
Contributor

Why this change? 👀
I thought temporary apk file is not needed after it was copied to the patcher dir

@BenjaminHalko
Copy link
Member Author

@kitadai31 There was an issue where if the user cancels patching and then re-patches, it wouldn't be able to re-copy the file as it had been already deleted.

@oSumAtrIX oSumAtrIX merged commit 4ba7ec1 into dev Dec 24, 2024
@oSumAtrIX oSumAtrIX deleted the fix/delay-cache-delete branch December 24, 2024 00:49
github-actions bot pushed a commit that referenced this pull request Dec 24, 2024
## [1.23.3-dev.1](v1.23.2...v1.23.3-dev.1) (2024-12-24)

### Bug Fixes

* Delete cached APK only after successful patch ([#2331](#2331)) ([4ba7ec1](4ba7ec1))
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.

3 participants