diff options
| author | 2019-04-24 22:53:48 -0400 | |
|---|---|---|
| committer | 2019-04-24 22:53:48 -0400 | |
| commit | ee2252b6e13237f9c80a40379a18455832d01e33 (patch) | |
| tree | 89e6a6ad6439edeb4559d4a8cb6b450bbcf1e153 | |
| parent | Merge pull request #2228 from DarkLordZach/applet-manager-p1 (diff) | |
| parent | Launch directly in Mac without terminal (diff) | |
| download | yuzu-ee2252b6e13237f9c80a40379a18455832d01e33.tar.gz yuzu-ee2252b6e13237f9c80a40379a18455832d01e33.tar.xz yuzu-ee2252b6e13237f9c80a40379a18455832d01e33.zip | |
Merge pull request #2426 from FearlessTobi/port-4748
Port citra-emu/citra#4748: "Launch directly in Mac without terminal"
| -rwxr-xr-x | .travis/macos/upload.sh | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/.travis/macos/upload.sh b/.travis/macos/upload.sh index 66e3455ff..c2f43a906 100755 --- a/.travis/macos/upload.sh +++ b/.travis/macos/upload.sh | |||
| @@ -19,18 +19,6 @@ $(brew --prefix)/opt/qt5/bin/macdeployqt "${REV_NAME}/yuzu.app" -executable="${R | |||
| 19 | # move libs into folder for deployment | 19 | # move libs into folder for deployment |
| 20 | macpack "${REV_NAME}/yuzu-cmd" -d "libs" | 20 | macpack "${REV_NAME}/yuzu-cmd" -d "libs" |
| 21 | 21 | ||
| 22 | # Make the yuzu.app application launch a debugging terminal. | ||
| 23 | # Store away the actual binary | ||
| 24 | mv ${REV_NAME}/yuzu.app/Contents/MacOS/yuzu ${REV_NAME}/yuzu.app/Contents/MacOS/yuzu-bin | ||
| 25 | |||
| 26 | cat > ${REV_NAME}/yuzu.app/Contents/MacOS/yuzu <<EOL | ||
| 27 | #!/usr/bin/env bash | ||
| 28 | cd "\`dirname "\$0"\`" | ||
| 29 | chmod +x yuzu-bin | ||
| 30 | open yuzu-bin --args "\$@" | ||
| 31 | EOL | ||
| 32 | # Content that will serve as the launching script for yuzu (within the .app folder) | ||
| 33 | |||
| 34 | # Make the launching script executable | 22 | # Make the launching script executable |
| 35 | chmod +x ${REV_NAME}/yuzu.app/Contents/MacOS/yuzu | 23 | chmod +x ${REV_NAME}/yuzu.app/Contents/MacOS/yuzu |
| 36 | 24 | ||