Update README

This commit is contained in:
2022-08-02 19:11:57 +02:00
parent 926676eb1b
commit 89450cd2fe
2 changed files with 26 additions and 2 deletions

6
pendora-box.py Normal file → Executable file
View File

@ -1,3 +1,5 @@
#!/usr/bin/env python3
import argparse
import json
from pathlib import Path
@ -5,7 +7,7 @@ import hashlib
import requests
import base64
import sys
from os import geteuid
from os import geteuid, chdir
import subprocess
from io import BytesIO
import zipfile
@ -434,6 +436,8 @@ def menu_choice(menu_options):
if __name__ == '__main__':
chdir(Path(__file__).resolve().parent) # Change current dir to source location
parser = argparse.ArgumentParser(description='Sync your files and starts a listener on HTTP, SMB or SMB2.')
parser.add_argument('-u', '--update', action='store_true', help='update your files (described in config.json)')
args = parser.parse_args()