You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This code is unsafe as it doesn't guard against possible exceptions.
For example, here's what happens when default system .ini file association is missing or corrupted (happens if you uninstall Notepad which is uninstallable in Windows 11):
System.ComponentModel.Win32Exception
HResult=0x80004005
Message=An error occurred trying to start process 'C:\PROGRAMS\MEModManager\mods\LE3\HK-47s No Pause On Focus Loss (LE3)\moddesc.ini' with working directory 'c:\PROGRAMS\MEModManager'. Application not found
Source=<Cannot evaluate the exception source>
StackTrace: <Cannot evaluate the exception stack trace>
To fix, wrap it in try / catch block and show a message that moddesc.ini can't be opened and inform user they should fix their .ini file association.
The text was updated successfully, but these errors were encountered:
Thanks for this. I just fixed this in the local codebase, so the next release (9.1) should include it, whenever I get around to shipping that. I'm going to keep this open until it ships.
ME3TweaksModManager/MassEffectModManagerCore/modmanager/M3Utilities.cs
Line 1568 in 590b568
This code is unsafe as it doesn't guard against possible exceptions.
For example, here's what happens when default system
.ini
file association is missing or corrupted (happens if you uninstall Notepad which is uninstallable in Windows 11):To fix, wrap it in try / catch block and show a message that
moddesc.ini
can't be opened and inform user they should fix their.ini
file association.The text was updated successfully, but these errors were encountered: