mirror of
https://github.com/HelloZeroNet/ZeroNet.git
synced 2023-12-14 04:33:03 +01:00
17 lines
291 B
Python
17 lines
291 B
Python
#!/usr/bin/env python3
|
|
|
|
|
|
# Included modules
|
|
import sys
|
|
|
|
# ZeroNet Modules
|
|
import zeronet
|
|
|
|
|
|
def main():
|
|
if "--open_browser" not in sys.argv:
|
|
sys.argv = [sys.argv[0]] + ["--open_browser", "default_browser"] + sys.argv[1:]
|
|
zeronet.start()
|
|
|
|
if __name__ == '__main__':
|
|
main()
|