History

feat(connect): keep macOS hosts reachable after reboot

Theo Browne committed 3 months ago

Commit ec3c5f61 parent 90f391312 files · +690 −91Browse files

Showing the changes to apps/server/src/cli/service.ts (1 of 12 files). Show all

Unified · Split

apps/server/src/cli/service.ts+3−4
@@ -48,7 +48,7 @@ export function formatServiceStatus( · 47 unmodified lines
4848 cliVersion: string,
4949 ): string {
5050 if (!status.supported) {
51− return "T3 Code service\n Status: unavailable on this machine\n Supported on: Linux with systemd";
51+ return "T3 Code service\n Status: unavailable on this machine\n Supported on: macOS with launchd or Linux with systemd";
5252 }
5353 if (!status.installed) {
5454 return "T3 Code service\n Status: not installed\n Next: Run `t3 service install`.";
@@ -56,7 +56,7 @@ export function formatServiceStatus( · 1 unmodified line
5656 return [
5757 "T3 Code service",
5858 ` Status: ${status.current ? `installed · t3@${cliVersion}` : "needs an update or repair"}`,
59− ` Unit: ${status.unitPath}`,
59+ ` Definition: ${status.unitPath}`,
6060 ` Logs: ${status.logPath}`,
6161 ...(status.current ? [] : [" Next: Run `npx t3@latest service update`."]),
6262 ].join("\n");
@@ -156,8 +156,7 @@ export const offerServiceDuringOnboarding = Effect.gen(function* () { · 93 unmodified lines
156156 Prompt.confirm({
157157 message: installed
158158 ? "The installed T3 Code service needs an update or repair. Update it now?"
159− : "Run T3 Code in the background whenever this machine boots? " +
160− "It stays reachable through T3 Connect even after you log out.",
159+ : "Start T3 Code automatically and keep this machine reachable in the background?",
161160 initial: true,
162161 }),
163162 );

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t