guarinogabriel / Mac-CLI

 macOS command line tool for developers – The ultimate tool to manage your Mac. It provides a huge set of command line commands that automatize the usage of your Mac.
MIT License
8.86k stars 334 forks source link

`lock`: /System/Library/CoreServices/Menu Extras/User.menu/Contents/Resources/CGSession: No such file or directory #192

Closed Explosion-Scratch closed 8 months ago

Explosion-Scratch commented 1 year ago
❯ mac lock
/System/Library/CoreServices/Menu\ Extras/User.menu/Contents/Resources/CGSession -suspend

/usr/local/bin/mac-cli/plugins/general: line 102: /System/Library/CoreServices/Menu Extras/User.menu/Contents/Resources/CGSession: No such file or directory
Explosion-Scratch commented 1 year ago

It seems User.menu is not present for me:

~
❯ ls /System/Library/CoreServices/Menu\ Extras/
AirPort.menu           Eject.menu             GamePolicyExtra.menu   PPPoE.menu             TimeMachine.menu       WWAN.menu
DwellControl.menu      ExpressCard.menu       PPP.menu               SafeEjectGPUExtra.menu VPN.menu
stale[bot] commented 11 months ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

Explosion-Scratch commented 11 months ago

no stop

Explosion-Scratch commented 11 months ago

thanks

stale[bot] commented 9 months ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

Explosion-Scratch commented 9 months ago

No unstale

Explosion-Scratch commented 8 months ago

Don't do it @stale I'm warning you