OpenNoteBlockStudio icon indicating copy to clipboard operation
OpenNoteBlockStudio copied to clipboard

Uninstaller deletes ALL files in selected folder without proper warning.

Open Ganpan14O opened this issue 6 months ago • 2 comments

Describe the bug A clear and concise description of what the bug is.

To Reproduce Steps to reproduce the behavior:

  1. Put the uninstaller in a folder with, say, a bunch of programs in it where you accidentally installed nbs instead of in a sub folder
  2. Run it
  3. It starts deleting everything and doesn't have a stop option

Expected behavior That the uninstaller only uninstalls the files the installer adds

Additional context I lost an unknown number of files to this so my apologies if I end up being less than courteous regarding this. If all the uninstaller does is delete everything in the folder there should be a better warning if not no uninstaller at all

Ganpan14O avatar Jun 18 '25 21:06 Ganpan14O

It is the intended purpose of the uninstaller though as the program install dir can contain modified files and it cannot know which is needed to be uninstalled. However we can do this: (tauri-apps/tauri#9478)

OctoFlareDev avatar Jun 18 '25 22:06 OctoFlareDev

Much appreciated! I don't think anything serious was lost it just panicked me, thank you all for finding a solution so fast!

Ganpan14O avatar Jun 19 '25 23:06 Ganpan14O