From cda2df05f616a2abc1e6731850a80603697d6d63 Mon Sep 17 00:00:00 2001 From: OsirizX Date: Sun, 5 Jul 2020 02:40:59 -0700 Subject: [PATCH] remove the intermediate files upon exiting --- main.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/main.c b/main.c index e60a659..a95ac95 100644 --- a/main.c +++ b/main.c @@ -1082,6 +1082,11 @@ int main(int argc, const char *argv[]) { sceIoMkdir("ur0:data", 0777); copyFile("ux0:/ShaRKF00D/libshacccg.suprx", "ur0:data/libshacccg.suprx", 0); dbgprintf("File successfully saved to ur0:data/libshacccg.suprx\n"); + + sceIoRemove("ux0:/ShaRKF00D/libshacccg.suprx.ext"); + sceIoRemove("ux0:/ShaRKF00D/libshacccg.suprx.elf"); + sceIoRemove("ux0:/ShaRKF00D/libshacccg.suprx"); + dbgprintf("exiting...\n"); if (log_fd > 0) { sceIoClose(log_fd);