提交 ed40f578 编写于 作者: K Kohsuke Kawaguchi

looking for the app in the default location

上级 50e486b2
......@@ -9,8 +9,11 @@ fi
# Set up build tools
PACKAGEMAKER_APP=$(mdfind "kMDItemCFBundleIdentifier == com.apple.PackageMaker")
if [ -z "$PACKAGEMAKER_APP" ]; then
PACKAGEMAKER_APP=/Applications/PackageMaker.app
if [ ! -d "$PACKAGEMAKER_APP" ]; then
echo "Error: PackageMaker.app not found" >&2
exit 1
fi
fi
PACKAGEMAKER="${PACKAGEMAKER_APP}/Contents/MacOS/PackageMaker"
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册