그래서 나는 최근에 zsh 스크립트를위한 .app
래퍼를 만들었지 만, 그것을 실행할 때, 앱의 아이콘은 Dock에서 호핑을 계속합니다. 앱 래퍼 스크립트가 시작된 후 도크 아이콘이 튀는 것을 멈추게하려면 어떻게해야합니까?
응용
은 기본적으로 :% find Example.app -type f
Example.app/Contents/Info.plist
Example.app/Contents/MacOS/wrapper.sh
% cat Example.app/Contents/Info.plist
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<!-- tell OSX what the name of the executable is -->
<key>CFBundleExecutable</key>
<string>wrapper.sh</string>
</dict>
</plist>
% cat Example.app/Contents/MacOS/wrapper.sh
#!/usr/bin/env zsh
# not my real script, but something else that hangs for a while
sleep 10
%
할 수도 grab it from github.
앱 아이콘이 호핑을 멈추고 일반 앱처럼 작동하고 옆에 삼각형이있는 에 앉을 수있는 방법이 있습니까?
이유를 설명해 주셔서 감사합니다! – rampion