Build the launcher when freezing on macOS as well
Can be used by the test suite
This commit is contained in:
parent
e07916425e
commit
2cb25cf5a8
@ -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'
|
||||||
|
|||||||
3
setup.py
3
setup.py
@ -1146,12 +1146,12 @@ def main() -> None:
|
|||||||
if args.action == 'clean':
|
if args.action == 'clean':
|
||||||
clean()
|
clean()
|
||||||
return
|
return
|
||||||
|
launcher_dir = 'kitty/launcher'
|
||||||
|
|
||||||
with CompilationDatabase(args.incremental) as cdb:
|
with CompilationDatabase(args.incremental) as cdb:
|
||||||
args.compilation_database = cdb
|
args.compilation_database = cdb
|
||||||
if args.action == 'build':
|
if args.action == 'build':
|
||||||
build(args)
|
build(args)
|
||||||
launcher_dir = 'kitty/launcher'
|
|
||||||
if is_macos:
|
if is_macos:
|
||||||
create_minimal_macos_bundle(args, launcher_dir)
|
create_minimal_macos_bundle(args, launcher_dir)
|
||||||
else:
|
else:
|
||||||
@ -1164,6 +1164,7 @@ def main() -> None:
|
|||||||
package(args, bundle_type='linux-freeze')
|
package(args, bundle_type='linux-freeze')
|
||||||
elif args.action == 'macos-freeze':
|
elif args.action == 'macos-freeze':
|
||||||
build(args, native_optimizations=False)
|
build(args, native_optimizations=False)
|
||||||
|
build_launcher(args, launcher_dir=launcher_dir)
|
||||||
package(args, bundle_type='macos-freeze')
|
package(args, bundle_type='macos-freeze')
|
||||||
elif args.action == 'kitty.app':
|
elif args.action == 'kitty.app':
|
||||||
args.prefix = 'kitty.app'
|
args.prefix = 'kitty.app'
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user