mirror of
https://github.com/dobin/SuperMega
synced 2026-06-02 17:27:10 +00:00
fix: tester.py, and add testcases for DLL
This commit is contained in:
@@ -55,6 +55,7 @@ def run_exe(exefile, dllfunc="", check=True):
|
||||
if exefile.endswith(".dll"):
|
||||
if dllfunc == "":
|
||||
dllfunc = "dllMain"
|
||||
logger.info("----[ No DLL function specified, using default: {}".format(dllfunc))
|
||||
#raise Exception("---[ No DLL function specified")
|
||||
args = [ "rundll32.exe", "{},{}".format(exefile, dllfunc) ]
|
||||
elif exefile.endswith(".exe"):
|
||||
|
||||
Reference in New Issue
Block a user