Skip to content

Commit

Permalink
remove the intermediate files upon exiting
Browse files Browse the repository at this point in the history
  • Loading branch information
OsirizX committed Jul 5, 2020
1 parent 15bc460 commit cda2df0
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions main.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit cda2df0

Please sign in to comment.