Skip to content

Commit

Permalink
Add aspect for detecting patch manager patches
Browse files Browse the repository at this point in the history
This adds an aspect to the aspects in the ModAnalyzer class that should detect patch manager patches (*.patch files), and automatically add the config tag, and a dependency on PatchManager
  • Loading branch information
cheese3660 authored Oct 28, 2023
1 parent 251c74c commit 57dc693
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions netkan/netkan/mod_analyzer.py
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@ class ModAnalyzer:
FilenameAspect(r'swinfo\.json$', [], ['SpaceWarp']),
FilenameAspect(r'\.dll$', ['plugin'], []),
FilenameAspect(r'\.cfg$', ['config'], []),
FilenameAspect(r'\.patch$', ['config'], ['PatchManager']),
]
FILTERS = [
'__MACOSX', '.DS_Store',
Expand Down

0 comments on commit 57dc693

Please sign in to comment.