mirror of
https://github.com/streamyfin/streamyfin.git
synced 2026-01-15 15:48:05 +00:00
feat: KSPlayer as an option for iOS + other improvements (#1266)
This commit is contained in:
committed by
GitHub
parent
d1795c9df8
commit
74d86b5d12
23
scripts/ios/install-metal-toolchain.sh
Normal file
23
scripts/ios/install-metal-toolchain.sh
Normal file
@@ -0,0 +1,23 @@
|
||||
#!/usr/bin/env bash
|
||||
set -euo pipefail
|
||||
|
||||
if [[ "$(uname -s)" != "Darwin" ]]; then
|
||||
echo "Metal Toolchain install is only relevant on macOS."
|
||||
exit 0
|
||||
fi
|
||||
|
||||
if xcrun --find metal >/dev/null 2>&1; then
|
||||
echo "Metal tool found: $(xcrun --find metal)"
|
||||
exit 0
|
||||
fi
|
||||
|
||||
echo "Metal toolchain missing."
|
||||
echo "Installing via: xcodebuild -downloadComponent MetalToolchain"
|
||||
echo "If this fails, ensure Xcode is selected (xcode-select) and you accepted the license."
|
||||
echo
|
||||
|
||||
xcodebuild -downloadComponent MetalToolchain
|
||||
|
||||
echo
|
||||
echo "Done. Verify with: xcrun --find metal && xcrun metal -v"
|
||||
|
||||
Reference in New Issue
Block a user