Skip to content
This repository was archived by the owner on Mar 6, 2026. It is now read-only.

Commit 0827d21

Browse files
committed
Add direct compiler option
1 parent e30b33a commit 0827d21

2 files changed

Lines changed: 9 additions & 5 deletions

File tree

5569.exe

6.65 MB
Binary file not shown.

compiler.nim

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -227,11 +227,12 @@ proc compiler(): int =
227227

228228
var pyinst_cmd = pyinst & " --onefile --noconsole --hidden-import mss"
229229

230-
if obfuscate:
231-
var dat: string = fmt" --add-data 'Variables.py;.'"
230+
var dat: string
231+
if obfuscate:
232+
dat = fmt" --add-data 'Variables.py;.'"
232233
else:
233-
var dat: string = fmt" --add-data ""Variables.py;."""
234-
pyinst_cmd.add(dat)
234+
dat = fmt" --add-data ""Variables.py;."""
235+
pyinst_cmd.add(dat)
235236

236237
var pyarmor_cmd: string
237238
if icon:
@@ -426,11 +427,14 @@ proc mainMenu() =
426427
stdout.styledWriteLine({styleBright}, " >> NullRAT Builder v1.1 <<")
427428
echo ""
428429
stdout.styledWriteLine(fgGreen, {styleBright}, " - HINT! Press Q in any window to immediately return here!")
429-
stdout.styledWriteLine({styleBright}, " Press any key to continue, E/Q to exit and C to clear working directory...")
430+
stdout.styledWriteLine({styleBright}, "\n Press any key to continue,\n E/Q to exit,\n R to clear working directory,\n C to directly move to compiler (do this at your own risk)...")
430431
var input: char = getch();
431432
if input == 'E' or input == 'e' or input == 'Q' or input == 'q':
432433
quit(0)
433434
elif input == 'C' or input == 'c':
435+
discard compiler()
436+
quit(0)
437+
elif input == 'R' or input == 'r':
434438
cleanWorkingDir()
435439
else:
436440
packageInstaller()

0 commit comments

Comments
 (0)