Update build

Signed-off-by: jayofelony <oudshoorn.jeroen@gmail.com>
This commit is contained in:
jayofelony
2024-11-17 21:00:28 +01:00
parent a7379d18e6
commit 68941abc08
54 changed files with 21 additions and 700 deletions

View File

@ -41,10 +41,7 @@ def install_system_files():
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")
elif platform.machine().startswith('aarch'):
data_path = os.path.join(setup_path, "builder/data/64bit")
data_path = os.path.join(setup_path, "builder/data")
for source_filename in glob.glob("%s/**" % data_path, recursive=True):
if os.path.isfile(source_filename):