flatimage icon indicating copy to clipboard operation
flatimage copied to clipboard

How to delete files after fim-commit?

Open mczero80 opened this issue 7 months ago • 2 comments

So I did the following inside a Flatimage:

  • Installed Java
  • Installed Minecraft Prism Launcher
  • Installed a Minecraft Modpack through the Prism Launcher

Then I did a fim-commit.

After that I decided to delete all Modpacks within the Prism Launcher. Everthing is good, they are deleted.

Now I did a second fim-commit and I thought the deleted Modpacks would deleted in the flatimage even without the dot flatimage folder.

But they are there again. Is a second fim-commit a bad idea or is my procedure wrong?

Thank you very much!

mczero80 avatar May 19 '25 18:05 mczero80

Hi @mczero80 , thanks for the feedback! You should be able to do how many commits you'd like. Something went wrong there. In your case it would be better to do everything before the first commit, because even if you delete the files they are still in an intermediate layer, the latest layer just tells to consider these files as deleted (it doesn't actually remove them from the binary, so it wastes space).

ruanformigoni avatar May 20 '25 02:05 ruanformigoni

Understood and good to know! Thanks for your hard work on Flatimage!

mczero80 avatar May 20 '25 08:05 mczero80