Skip to content

Commit adcc0d4

Browse files
committed
Plugins should now appear sorted alphabetically on all platforms
1 parent 16df6d5 commit adcc0d4

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

mac_apt.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
import textwrap
3636
from plugin import *
3737

38-
__VERSION = "0.2.5"
38+
__VERSION = "0.2.6"
3939
__PROGRAMNAME = "macOS Artifact Parsing Tool"
4040
__EMAIL = "[email protected]"
4141

mac_apt_singleplugin.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
import textwrap
3131
from plugin import *
3232

33-
__VERSION = "0.2.5"
33+
__VERSION = "0.2.6"
3434
__PROGRAMNAME = "macOS Artifact Parsing Tool - Single Plugin mode"
3535
__EMAIL = "[email protected]"
3636

plugin.py

+1
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@ def ImportPlugins(plugins, only_standalone=False):
4242
continue
4343
except Exception as ex:
4444
print ("Does plugin directory exist?\n Exception:\n" +str(ex))
45+
plugins.sort(key=lambda plugin: plugin.__Plugin_Name) # So plugins are in same order regardless of platform!
4546
return len(plugins)
4647

4748
def IsValidPlugin(plugin):

0 commit comments

Comments
 (0)