mirror of
https://github.com/jayofelony/pwnagotchi.git
synced 2025-07-01 18:37:27 -04:00
Install OS packages from auto-update
Signed-off-by: jayofelony <oudshoorn.jeroen@gmail.com>
This commit is contained in:
5
setup.py
5
setup.py
@ -31,6 +31,11 @@ def install_file(source_filename, dest_filename):
|
||||
|
||||
|
||||
def install_system_files():
|
||||
f = open("apt_packages.txt", "r")
|
||||
|
||||
for x in f:
|
||||
os.system(f"apt-get install -y {x}")
|
||||
f.close()
|
||||
setup_path = os.path.dirname(__file__)
|
||||
if platform.machine().startswith('arm'):
|
||||
data_path = os.path.join(setup_path, "builder/data/32bit")
|
||||
|
Reference in New Issue
Block a user