Remove the build copy after installing
Spotlight indexed build/mxd.app, and opening it from there started a second mxd alongside the installed one. Assisted-by: Claude Sonnet 5.5 Signed-off-by: Yigit BALABAN <balaban@yigid.dev>
This commit is contained in:
1 parent
d961a1d927
commit
af5eb88811
1 file changed
+1
@@ -39,6 +39,7 @@ install: app
|
|||||||
mkdir -p $(HOME)/Applications $(HOME)/Library/LaunchAgents $(HOME)/Library/Logs
|
mkdir -p $(HOME)/Applications $(HOME)/Library/LaunchAgents $(HOME)/Library/Logs
|
||||||
rm -rf $(INSTALLED_BUNDLE)
|
rm -rf $(INSTALLED_BUNDLE)
|
||||||
ditto $(BUNDLE) $(INSTALLED_BUNDLE)
|
ditto $(BUNDLE) $(INSTALLED_BUNDLE)
|
||||||
|
rm -rf $(BUNDLE)
|
||||||
sed "s|__HOME__|$(HOME)|g" $(LABEL).plist > $(LAUNCH_AGENT)
|
sed "s|__HOME__|$(HOME)|g" $(LABEL).plist > $(LAUNCH_AGENT)
|
||||||
launchctl bootstrap gui/$$(id -u) $(LAUNCH_AGENT)
|
launchctl bootstrap gui/$$(id -u) $(LAUNCH_AGENT)
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user