mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-12-06 07:12:28 +01:00
macos support maybe?
This commit is contained in:
parent
4710b38505
commit
ca5a43a3ab
|
|
@ -31,6 +31,14 @@ rm -rf "rpcs3.app/Contents/Frameworks/QtPdf.framework" \
|
||||||
|
|
||||||
../../.ci/optimize-mac.sh rpcs3.app
|
../../.ci/optimize-mac.sh rpcs3.app
|
||||||
|
|
||||||
|
# Download translations
|
||||||
|
curl -fsSL "https://api.github.com/repos/RPCS3/rpcs3_translations/contents/qm" \
|
||||||
|
| grep '"download_url":' \
|
||||||
|
| cut -d '"' -f 4 \
|
||||||
|
| while read -r url; do
|
||||||
|
curl -fsSL "$url" -o "rpcs3.app/Contents/translations/$(basename "$url")"
|
||||||
|
done
|
||||||
|
|
||||||
# Hack
|
# Hack
|
||||||
install_name_tool -delete_rpath /opt/homebrew/lib RPCS3.app/Contents/MacOS/rpcs3 || echo "Hack for deleting rpath /opt/homebrew/lib not needed"
|
install_name_tool -delete_rpath /opt/homebrew/lib RPCS3.app/Contents/MacOS/rpcs3 || echo "Hack for deleting rpath /opt/homebrew/lib not needed"
|
||||||
install_name_tool -delete_rpath /opt/homebrew/opt/llvm@$LLVM_COMPILER_VER/lib RPCS3.app/Contents/MacOS/rpcs3 || echo "Hack for deleting rpath /opt/homebrew/opt/llvm@$LLVM_COMPILER_VER/lib not needed"
|
install_name_tool -delete_rpath /opt/homebrew/opt/llvm@$LLVM_COMPILER_VER/lib RPCS3.app/Contents/MacOS/rpcs3 || echo "Hack for deleting rpath /opt/homebrew/opt/llvm@$LLVM_COMPILER_VER/lib not needed"
|
||||||
|
|
|
||||||
|
|
@ -32,6 +32,14 @@ rm -rf "rpcs3.app/Contents/Frameworks/QtPdf.framework" \
|
||||||
|
|
||||||
../../.ci/optimize-mac.sh rpcs3.app
|
../../.ci/optimize-mac.sh rpcs3.app
|
||||||
|
|
||||||
|
# Download translations
|
||||||
|
curl -fsSL "https://api.github.com/repos/RPCS3/rpcs3_translations/contents/qm" \
|
||||||
|
| grep '"download_url":' \
|
||||||
|
| cut -d '"' -f 4 \
|
||||||
|
| while read -r url; do
|
||||||
|
curl -fsSL "$url" -o "rpcs3.app/Contents/translations/$(basename "$url")"
|
||||||
|
done
|
||||||
|
|
||||||
# Need to do this rename hack due to case insensitive filesystem
|
# Need to do this rename hack due to case insensitive filesystem
|
||||||
mv rpcs3.app RPCS3_.app
|
mv rpcs3.app RPCS3_.app
|
||||||
mv RPCS3_.app RPCS3.app
|
mv RPCS3_.app RPCS3.app
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue