feat(mac-mini): 启用屏幕共享 (VNC)

This commit is contained in:
2026-04-11 18:14:58 +08:00
parent b961a7c0d0
commit cfe64d5ed9
+6
View File
@@ -15,5 +15,11 @@
power.restartAfterPowerFailure = true; power.restartAfterPowerFailure = true;
power.restartAfterFreeze = true; power.restartAfterFreeze = true;
# ── Screen Sharing (VNC) ─────────────────────────
system.activationScripts.postActivation.text = ''
launchctl enable system/com.apple.screensharing
launchctl load -w /System/Library/LaunchDaemons/com.apple.screensharing.plist 2>/dev/null || true
'';
system.stateVersion = 5; system.stateVersion = 5;
} }