tart/Sources/tart/Commands
Fedor Korotkov 6189dc23af
Fix VM window not appearing on tart run (#1183)
Restore the applicationDidFinishLaunching method that was accidentally
removed in commit b1e88e1 ("tart run: do not remove 'Edit' menu as its
not present anymore").

That commit intended to remove the Edit menu removal code (since the
menu no longer exists), but also removed the crucial activation code:
- setActivationPolicy(.regular) - tells macOS this is a GUI app
- activate(ignoringOtherApps:) - brings the window to the foreground

Without these calls, the VM runs fine (SSH works) but no window appears
on screen.

Fixes #1181

Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-23 15:16:33 -05:00
..
Clone.swift Validate custom TART_HOME and provide a human-friendly error message (#1138) 2025-09-25 20:44:57 +04:00
Create.swift feat: Add disk image format selection with ASIF support (#1094) 2025-06-19 18:27:30 +04:00
Delete.swift Add shell completions (#780) 2024-04-11 06:22:50 -04:00
Exec.swift tart exec: do not attempt to call TTY-related methods when no -t is set (#1122) 2025-09-12 19:17:17 +04:00
Export.swift Fix unescaped commas in generated ArgumentParser completions (#1066) 2025-05-06 14:24:43 +04:00
FQN.swift Add shell completions (#780) 2024-04-11 06:22:50 -04:00
Get.swift feat: Add disk image format selection with ASIF support (#1094) 2025-06-19 18:27:30 +04:00
IP.swift Switch to OpenTelemetry (#1179) 2026-01-23 12:04:21 +01:00
Import.swift Validate custom TART_HOME and provide a human-friendly error message (#1138) 2025-09-25 20:44:57 +04:00
List.swift Fix unescaped commas in generated ArgumentParser completions (#1066) 2025-05-06 14:24:43 +04:00
Login.swift Improve credential provider errors (#1133) 2025-09-22 22:57:05 +04:00
Logout.swift Introduce "tart logout" command (#583) 2023-08-15 15:16:33 +04:00
Prune.swift Switch to OpenTelemetry (#1179) 2026-01-23 12:04:21 +01:00
Pull.swift Validate custom TART_HOME and provide a human-friendly error message (#1138) 2025-09-25 20:44:57 +04:00
Push.swift Validate custom TART_HOME and provide a human-friendly error message (#1138) 2025-09-25 20:44:57 +04:00
Rename.swift Validate custom TART_HOME and provide a human-friendly error message (#1138) 2025-09-25 20:44:57 +04:00
Run.swift Fix VM window not appearing on tart run (#1183) 2026-01-23 15:16:33 -05:00
Set.swift tart set: support optional "pt" and "px" units for "--display" argument (#1155) 2025-10-21 21:35:42 -04:00
Stop.swift Add shell completions (#780) 2024-04-11 06:22:50 -04:00
Suspend.swift Fixed Swift Warning (#787) 2024-04-11 19:53:10 +04:00