TekkaGB / PizzaOven

A Pizza Tower Mod Manager
GNU General Public License v3.0
22 stars 13 forks source link

Add error message for when getting "access denied" errors #36

Closed CST1229 closed 5 months ago

CST1229 commented 6 months ago

If Pizza Tower is installed to a folder which normal users don't have access to (e.g in the Program Files folder, which I think is the default), mods will fail to apply because PO does not have access to the folder. If there are .po files in the folder or the mod has non-xdelta files that PO deals with, it will just visibly throw there, but if the mod only has .xdelta files, the error will manifest as an innocent-looking "could not patch file, ensure game is up to date" message, even if the game files would normally patch. This PR adds a more descriptive message for those errors, telling the user to reinstall PT to a different folder or run PO as admin.

CST1229 commented 6 months ago

@TekkaGB Have you seen this yet?