Skip to content

Commit 6163e9c

Browse files
authored
fix: CLI --purge command does not cleanup temp APK (#169)
Moved our temp apk from tmp folder in our morphe-data folder to the temp folder used when patching. `--purge` should now properly clean up this file.
1 parent aa55fe1 commit 6163e9c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/main/kotlin/app/morphe/cli/command/PatchCommand.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -823,7 +823,7 @@ internal object PatchCommand : Callable<Int> {
823823

824824
// region Save.
825825

826-
inputApk.copyTo(temporaryFilesPath.resolve(inputApk.name), overwrite = true).apply {
826+
inputApk.copyTo(patcherTemporaryFilesPath.resolve(inputApk.name), overwrite = true).apply {
827827
patchingResult.addStepResult(
828828
PatchingStep.REBUILDING,
829829
{

0 commit comments

Comments
 (0)