feat(mac-mini): 启用屏幕共享 (VNC)
This commit is contained in:
@@ -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;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user