-
Notifications
You must be signed in to change notification settings - Fork 19
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Login items bug #47
Comments
This issue also occurs when I run cDock 2 manually. |
Because it's trying to install SIMBL and SIP is preventing it from doing so and the maximum times it asks before giving up is 4. |
@w0lfschild but I have SIMBL installed and there is a bundle there (visible via EasySIMBL app). |
#! /bin/bash
myvar=1
simbl_check() {
echo "SIMBL check #$myvar"
if [[ $myvar < 5 ]]; then
locSIMBL=$(/usr/libexec/PlistBuddy -c "Print CFBundleVersion" /System/Library/ScriptingAdditions/SIMBL.osax/Contents/Info.plist)
curSIMBL=$(/usr/libexec/PlistBuddy -c "Print CFBundleVersion" "$simbl_inst"/Contents/Resources/SIMBL.osax/Contents/Info.plist)
# echo -e "loc: $locSIMBL\ncur: $curSIMBL" > ~/Desktop/test.txt
if [[ -e /Library/ScriptingAdditions/SIMBL.osax || ! -e /System/Library/ScriptingAdditions/SIMBL.osax || ! -e /System/Library/LaunchAgents/net.culater.SIMBL.Agent.plist || ! -e /Library/Application\ Support/SIMBL/Plugins || -h /Library/Application\ Support/SIMBL/Plugins ]]; then
open "$simbl_inst"
install_simbl
elif [[ "$locSIMBL" != "$curSIMBL" ]]; then
open "$simbl_inst"
install_simbl
fi
fi
}
install_simbl() {
# echo "But Beyonce had the greatest albumn of all time"
inst_id1=$(ps ax | grep [c]Dock-Installer | sed -e 's/^[ \t]*//' | cut -f1 -d" ")
# If dock has been restarted it will have a new ID
while [[ $inst_id1 != "" ]]; do
inst_id1=$(ps ax | grep [c]Dock-Installer | sed -e 's/^[ \t]*//' | cut -f1 -d" ")
sleep .5
done
myvar=$(( myvar + 1 ))
simbl_check
} You can view the logs of the agent at |
Sorry, this issue is with cDock 2. |
This issue was closed.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Why do i have to fill in my password for 4 times each time when I log in?
The text was updated successfully, but these errors were encountered: