mirror of
https://github.com/Lime3DS/Lime3DS
synced 2024-12-28 10:02:31 -06:00
Merge pull request #4748 from Arcanus73/master
Launch directly in Mac without terminal
This commit is contained in:
commit
28df11dba2
1 changed files with 0 additions and 12 deletions
|
@ -20,18 +20,6 @@ $(brew --prefix)/opt/qt5/bin/macdeployqt "${REV_NAME}/citra-qt.app" -executable=
|
||||||
# move libs into folder for deployment
|
# move libs into folder for deployment
|
||||||
macpack "${REV_NAME}/citra" -d "libs"
|
macpack "${REV_NAME}/citra" -d "libs"
|
||||||
|
|
||||||
# Make the citra-qt.app application launch a debugging terminal.
|
|
||||||
# Store away the actual binary
|
|
||||||
mv ${REV_NAME}/citra-qt.app/Contents/MacOS/citra-qt ${REV_NAME}/citra-qt.app/Contents/MacOS/citra-qt-bin
|
|
||||||
|
|
||||||
cat > ${REV_NAME}/citra-qt.app/Contents/MacOS/citra-qt <<EOL
|
|
||||||
#!/usr/bin/env bash
|
|
||||||
cd "\`dirname "\$0"\`"
|
|
||||||
chmod +x citra-qt-bin
|
|
||||||
open citra-qt-bin --args "\$@"
|
|
||||||
EOL
|
|
||||||
# Content that will serve as the launching script for citra (within the .app folder)
|
|
||||||
|
|
||||||
# Make the launching script executable
|
# Make the launching script executable
|
||||||
chmod +x ${REV_NAME}/citra-qt.app/Contents/MacOS/citra-qt
|
chmod +x ${REV_NAME}/citra-qt.app/Contents/MacOS/citra-qt
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue