Made python script to generate list of modules.

This commit is contained in:
Harrison Deng 2021-04-23 22:01:26 -05:00
parent 3057bb8dfc
commit 86d5eceeaf

View File

@ -0,0 +1,13 @@
import os
import json
modulepaths = []
for content in os.listdir(os.getcwd()):
if (os.path.isfile(content) and os.path.splitext(content)[1] == ".dll"):
print("Adding \"{0}\" to list of modules.".format(content))
modulepaths.append(content)
file = open("modules_content.json", "w")
json.dump(modulepaths, file, sort_keys=True, indent=4)
file.close()