mirror of
https://github.com/robbyrussell/oh-my-zsh.git
synced 2025-12-06 23:40:39 +01:00
Update Simulator's Path to XCode 7.x
This commit is contained in:
@@ -179,7 +179,10 @@ function simulator {
|
|||||||
if [[ -d "${devfolder}/Platforms/iPhoneSimulator.platform/Developer/Applications/iPhone Simulator.app" ]]; then
|
if [[ -d "${devfolder}/Platforms/iPhoneSimulator.platform/Developer/Applications/iPhone Simulator.app" ]]; then
|
||||||
open "${devfolder}/Platforms/iPhoneSimulator.platform/Developer/Applications/iPhone Simulator.app"
|
open "${devfolder}/Platforms/iPhoneSimulator.platform/Developer/Applications/iPhone Simulator.app"
|
||||||
# Xcode ≥ 6.x
|
# Xcode ≥ 6.x
|
||||||
else
|
elif [[ -d "${devfolder}/Applications/iOS Simulator.app" ]]; then
|
||||||
open "${devfolder}/Applications/iOS Simulator.app"
|
open "${devfolder}/Applications/iOS Simulator.app"
|
||||||
|
# Xcode ≥ 7.x
|
||||||
|
else
|
||||||
|
open "${devfolder}/Applications/Simulator.app"
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user