File tree Expand file tree Collapse file tree 1 file changed +2
-4
lines changed
Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -10,12 +10,10 @@ Custom (python) import hooks are installed to support loading modules (both nati
10100 . Set up nim
11111 . Download ` python-3.10.1-embed-amd64.zip ` to the project directory
12122 . ` nimble build `
13- 3 . Run ` onefile_python.exe `
13+ 3 . Run ` onefile_python.exe ` (REPL), ` onefile_python.exe -c "print('Hello World') ` (command), or ` onefile_python.exe script.py --hello world ` (script)
1414
1515## TODO
1616
17- Currently the exe just drops to an interactive loop. Modification to run a script or embed a file/module should be trivial.
18-
1917- [ ] Build option for embedding a python file/module and running that on launch
2018- [ ] Support other versions of python than ` 3.10.1 ` (autodetect?)
2119
@@ -54,4 +52,4 @@ There's not much to it...
5452No.
5553
5654It uses reflective DLL loading, which is a technique some malware uses so that might upset particularly sensitive AVs.
57- Like python itself, it could be used to run a malicious script.
55+ Like python itself, it could be used to run a malicious script.
You can’t perform that action at this time.
0 commit comments