Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions bin/md-install
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,12 @@ touch "$tempDirsFile"
#把LANG变量从当前环境中删除
unset LANG

old_xcode_resource_path="/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/Library/Xcode/Specifications/Resources"
new_xcode_resource_path="/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/Library/Xcode/PrivatePlugIns/IDEOSXSupportCore.ideplugin/Contents/Resources"
if [[ ! -d $old_xcode_resource_path ]]; then
sudo ln -s $new_xcode_resource_path $old_xcode_resource_path
fi

#出错退出
function cleanup()
{
Expand Down