diff --git a/bypy/rsync.conf b/bypy/rsync.conf index 3c73a4516..9b2165745 100644 --- a/bypy/rsync.conf +++ b/bypy/rsync.conf @@ -1 +1 @@ -to_vm_excludes '/build /dist /.build-cache /tags __pycache__ /*_commands.json *.so *.pyd *.pyc' +to_vm_excludes '/build /dist /kitty/launcher/kitty /.build-cache /tags __pycache__ /*_commands.json *.so *.pyd *.pyc' diff --git a/setup.py b/setup.py index 4961eaff0..bd924ed87 100755 --- a/setup.py +++ b/setup.py @@ -1146,12 +1146,12 @@ def main() -> None: if args.action == 'clean': clean() return + launcher_dir = 'kitty/launcher' with CompilationDatabase(args.incremental) as cdb: args.compilation_database = cdb if args.action == 'build': build(args) - launcher_dir = 'kitty/launcher' if is_macos: create_minimal_macos_bundle(args, launcher_dir) else: @@ -1164,6 +1164,7 @@ def main() -> None: package(args, bundle_type='linux-freeze') elif args.action == 'macos-freeze': build(args, native_optimizations=False) + build_launcher(args, launcher_dir=launcher_dir) package(args, bundle_type='macos-freeze') elif args.action == 'kitty.app': args.prefix = 'kitty.app'