FTBTeam / FTB-App

Electron, Vue2, and Tailwind based frontend system for the FTB App; a new Modpack launcher for FTB and Curse modpacks.
https://feed-the-beast.com/app
GNU Lesser General Public License v2.1
86 stars 22 forks source link

Instance location on a disk that no longer exists makes it hard to change location #1077

Closed jhymni closed 2 months ago

jhymni commented 4 months ago

What Operating System

Windows 10

Debug Code

FTB-DBGAVEQIQECEB

Describe the bug

The debug code is pointless seeing as I already fixed this issue myself, though I did have to delete the .ftba folder to reset the location. The instance location was on the D: disk, which no longer exists.

Steps to reproduce

  1. Have instance location on a disk.
  2. Disconnect disk from computer
  3. Try to switch instance location to another disk
  4. Error when it tries to move instances to the new location
  5. Uninstalling doesn't work
  6. Try deleting .ftba folder
  7. ???
  8. Profit

Expected behaviour

It should recognize that the disk/location is no longer reachable and establish a new location from scratch

Screenshots

No response

Additional information

Niche problem I guess

MichaelHillcox commented 2 months ago

This isn't something we can fix. If the drive is no longer there, there isn't anything to migrate. You would need to manually modify the instanceLocation field inside the settings.json file.

This is definitely an edge case...

Regardless, I did note that it was not clear that the instance location setting was a migration system and not a static input field. To resolve this, I've improved the wording.

7586e6c