Skip to content

Commit 55beabf

Browse files
Update main.c
1 parent 65ea791 commit 55beabf

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

main.c

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -251,7 +251,7 @@ static int install(int mcport, int icon_variant)
251251
}
252252

253253
//If there's no free space, we have an error:
254-
if (mc_Free < 1727)
254+
if (mc_Free < 200)
255255
{
256256
return 3;
257257
}
@@ -267,6 +267,10 @@ static int install(int mcport, int icon_variant)
267267
DeleteFolder(temp_path);
268268
sprintf(temp_path,"mc%u:OPENTUNA", mcport);
269269
DeleteFolder(temp_path);
270+
sprintf(temp_path,"mc%u:DST_OPENTUNA-INSTALLER", mcport);
271+
DeleteFolder(temp_path);
272+
sprintf(temp_path,"mc%u:DST_FMCT-INSTALLER", mcport);
273+
DeleteFolder(temp_path);
270274

271275
//If the files exists, we have an error:
272276
if (mcport == 0)

0 commit comments

Comments
 (0)