Skip to content

Commit

Permalink
fix for debug
Browse files Browse the repository at this point in the history
  • Loading branch information
Fudfather committed Nov 20, 2023
1 parent 73a2d23 commit 9d04524
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ def main(self):
super_obf = all_.super_obf
if any([args.file]):
current_time = time.time()
Obfuscator(args.file, double_click_check=False, utf_16_bom=True)
Obfuscator(args.file, double_click_check=False, utf_16_bom=not args.no_utf_16_bom)
finish_time = time.time()
print(f"It only took {finish_time - current_time} to finish!")
return
Expand Down Expand Up @@ -69,6 +69,7 @@ def main(self):
if __name__ == "__main__":
parse = ArgumentParser()
parse.add_argument("-f", "--file", help="File to obfuscate", type=str)
parse.add_argument("-nu", "--no-utf-16-bom", help="No UTF-16 BOM", action="store_true")
args = parse.parse_args()
Main().main()
sys.exit(0)

0 comments on commit 9d04524

Please sign in to comment.