mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-04-03 04:20:01 +02:00
Merge 82641e946d into a9c882094d
This commit is contained in:
commit
88d11e56e6
1 changed files with 7 additions and 2 deletions
|
|
@ -178,8 +178,13 @@ function simulator {
|
||||||
# Xcode ≤ 5.x
|
# Xcode ≤ 5.x
|
||||||
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
|
|
||||||
else
|
else
|
||||||
open "${devfolder}/Applications/iOS Simulator.app"
|
# Xcode 6.x
|
||||||
|
if [[ -d "${devfolder}/Applications/iOS Simulator.app" ]]; then
|
||||||
|
open "${devfolder}/Applications/iOS Simulator.app"
|
||||||
|
# Xcode ≥ 7.x
|
||||||
|
else
|
||||||
|
"${devfolder}/Applications/Simulator.app"
|
||||||
|
fi
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue