Add features to loginwindow on macOS
macOS Sonoma 14.0 or greater is required
-
Move BetterLogin.bundle to /Library/Application Support/MacEnhance/Plugins, or double click to automatically open in MacForge
-
Move BetterLogin.app to /Applications (not required, app will work in any location)
Some versions of macOS and MacForge do not automatically inject newly installed bundles. To manually inject BetterLogin follow these steps in terminal. This may be required after every login
lldb -p $(pgrep -x loginwindow)
expr (void) [[NSBundle bundleWithPath:@"/Library/Application Support/MacEnhance/Plugins/BetterLogin.bundle"] load]
expr (void) [BetterLogin load]
c
Close terminal window and lock screen
Open project in Xcode and build BetterLogin scheme to build MacForge plugin, build BetterLoginApp scheme for settings application
To build via terminal run
xcodebuild -scheme BetterLogin CODE_SIGNING_ALLOWED="NO" CODE_SIGNING_REQUIRED="NO" CODE_SIGN_IDENTITY=""
xcodebuild -scheme BetterLoginApp CODE_SIGNING_ALLOWED="NO" CODE_SIGNING_REQUIRED="NO" CODE_SIGN_IDENTITY=""






