mirror of
https://github.com/ModOrganizer2/modorganizer-script_extender_plugin_checker.git
synced 2026-07-27 14:05:49 -07:00
Do not report SKSEVR plugins that were loaded correctly
SKSEVR adds the text "(handle %d)" to the "loaded correctly" message. Without handling this, all SKSEVR plugins that are successfully loaded will be flagged in the notification as being failed.
This commit is contained in:
@@ -86,7 +86,7 @@ class NormalPluginMessage(PluginMessage):
|
||||
def __tr(self, str):
|
||||
return QCoreApplication.translate("NormalPluginMessage", str)
|
||||
|
||||
PluginMessage.registerMessageType((re.compile(r"plugin (?P<pluginPath>.+) \((?P<infoVersion>[\dA-Fa-f]{8}) (?P<name>.+) (?P<version>[\dA-Fa-f]{8})\) (?P<loadStatus>.+)\s"), NormalPluginMessage))
|
||||
PluginMessage.registerMessageType((re.compile(r"plugin (?P<pluginPath>.+) \((?P<infoVersion>[\dA-Fa-f]{8}) (?P<name>.+) (?P<version>[\dA-Fa-f]{8})\) (?P<loadStatus>.+) (\(handle \d+\))?\s"), NormalPluginMessage))
|
||||
|
||||
|
||||
class CouldntLoadPluginMessage(PluginMessage):
|
||||
@@ -169,7 +169,7 @@ class ScriptExtenderPluginChecker(mobase.IPluginDiagnose):
|
||||
return self.__tr("Checks script extender log to see if any plugins failed to load.")
|
||||
|
||||
def version(self):
|
||||
return mobase.VersionInfo(1, 1, 0, 0)
|
||||
return mobase.VersionInfo(1, 1, 1, 0)
|
||||
|
||||
def isActive(self):
|
||||
return (self.__organizer.managedGame().gameName() in self.supportedGames
|
||||
|
||||
Reference in New Issue
Block a user