From f8823b77b71db726a3703d30fbf1368b0c0041ff Mon Sep 17 00:00:00 2001 From: Trey Moen Date: Thu, 15 May 2025 17:45:28 -0700 Subject: [PATCH] updates for device --- release/pack.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/release/pack.py b/release/pack.py index 7a679e5bf8..8e30da7f90 100755 --- a/release/pack.py +++ b/release/pack.py @@ -11,7 +11,7 @@ from pathlib import Path from openpilot.common.basedir import BASEDIR -EXTS = ['.png', '.py'] +EXTS = ['.png', '.py', '.svg', '.ttf'] INTERPRETER = '/usr/bin/env python3' @@ -41,7 +41,7 @@ if __name__ == '__main__': sys.exit(1) with tempfile.TemporaryDirectory() as tmp: - shutil.copytree(BASEDIR + '/openpilot', tmp, symlinks=False, dirs_exist_ok=True, copy_function=copy) + shutil.copytree(BASEDIR + '/openpilot', tmp + '/openpilot', symlinks=False, dirs_exist_ok=True, copy_function=copy) entry = f'{args.module}:{args.entrypoint}' zipapp.create_archive(tmp, target=args.output, interpreter=INTERPRETER, main=entry)