Skip to content

Commit 433b324

Browse files
committed
windows os .exe build instruction
1 parent dd5976a commit 433b324

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

README.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -165,6 +165,13 @@ Install autoconf and other basic development tools, python3 and pip, then procee
165165
- [for full tor anonymity launch this instead] `python zeronet.py --tor_proxy 127.0.0.1:9150 --tor_controller 127.0.0.1:9151 --tor always`
166166
- navigate to http://127.0.0.1:43110 in your favourite browser!
167167

168+
To build .exe
169+
170+
- follow the same steps as above, but additionally
171+
- `pip install pyinstaller`
172+
- `pyinstaller -p src -p plugins --hidden-import merkletools --hidden-import lib.bencode_open --hidden-import Crypt.Crypt --hidden-import Db.DbQuery --hidden-import lib.subtl --hidden-import lib.subtl.subtl --hidden-import sockshandler --add-data "src;src" --add-data "plugins;plugins" --clean zeronet.py`
173+
- dist/zeronet should contain working zeronet.exe!
174+
168175
## Current limitations
169176

170177
* File transactions are not compressed

0 commit comments

Comments
 (0)