diff --git a/Makefile b/Makefile index ae58df0..323697a 100644 --- a/Makefile +++ b/Makefile @@ -35,6 +35,7 @@ icon: install: app -launchctl bootout gui/$$(id -u)/$(LABEL) + @for attempt in $$(seq 50); do launchctl print gui/$$(id -u)/$(LABEL) >/dev/null 2>&1 || break; sleep 0.2; done mkdir -p $(HOME)/Applications $(HOME)/Library/LaunchAgents $(HOME)/Library/Logs rm -rf $(INSTALLED_BUNDLE) ditto $(BUNDLE) $(INSTALLED_BUNDLE)