mirror of
https://github.com/dobin/SuperMega
synced 2026-06-03 01:27:11 +00:00
feature: setting for disabling the window
This commit is contained in:
@@ -39,6 +39,7 @@ class Settings():
|
|||||||
|
|
||||||
# More
|
# More
|
||||||
self.fix_missing_iat = True
|
self.fix_missing_iat = True
|
||||||
|
self.patch_show_window = True
|
||||||
self.payload_location = PayloadLocation.DATA
|
self.payload_location = PayloadLocation.DATA
|
||||||
|
|
||||||
# directories and filenames
|
# directories and filenames
|
||||||
|
|||||||
+2
-1
@@ -143,7 +143,8 @@ class Injector():
|
|||||||
self.inject_and_reference_data()
|
self.inject_and_reference_data()
|
||||||
|
|
||||||
# changes from console to UI (no console window) if necessary
|
# changes from console to UI (no console window) if necessary
|
||||||
self.superpe.patch_subsystem()
|
if self.settings.patch_show_window:
|
||||||
|
self.superpe.patch_subsystem()
|
||||||
|
|
||||||
# We done
|
# We done
|
||||||
logger.info("--( Write to file: {}".format(exe_out))
|
logger.info("--( Write to file: {}".format(exe_out))
|
||||||
|
|||||||
Reference in New Issue
Block a user