Changed Cutter.sh to Cutter for macos (Fixes #787) (#853)

* Changed Cutter.sh to Cutter for macos (Fixes #787)
This commit is contained in:
xarkes 2018-10-19 01:36:31 +02:00 committed by GitHub
parent d5513c66dc
commit 989555872e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 3 additions and 4 deletions

1
.gitignore vendored
View File

@ -1,5 +1,4 @@
# Binaries
Cutter
AStyle*
# OSX files

View File

@ -71,7 +71,7 @@ script:
after_success:
- export CUTTER_VERSION=$(python ../scripts/get_version.py)
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then
cp ../src/macos/Cutter.sh Cutter.app/Contents/MacOS/Cutter.sh && chmod +x Cutter.app/Contents/MacOS/Cutter.sh &&
cp ../src/macos/Cutter Cutter.app/Contents/MacOS/Cutter && chmod +x Cutter.app/Contents/MacOS/Cutter &&
macdeployqt Cutter.app -executable=Cutter.app/Contents/MacOS/Cutter &&
"$TRAVIS_BUILD_DIR/scripts/appbundle_embed_python.sh" "$PYTHON_FRAMEWORK_DIR/Python.framework" Cutter.app Cutter.app/Contents/MacOS/Cutter &&
mkdir -p Cutter.app/Contents/Resources/r2/share &&

View File

@ -46,7 +46,7 @@ cd ..
On macOS you will also have to copy the launcher bash script:
```sh
cp ../src/macos/Cutter.sh Cutter.app/Contents/MacOS/Cutter.sh && chmod +x Cutter.app/Contents/MacOS/Cutter.sh
cp ../src/macos/Cutter Cutter.app/Contents/MacOS/Cutter && chmod +x Cutter.app/Contents/MacOS/Cutter
```
---

View File

@ -5,7 +5,7 @@
<key>CFBundleDisplayName</key>
<string>Cutter</string>
<key>CFBundleExecutable</key>
<string>Cutter.sh</string>
<string>Cutter</string>
<key>CFBundleVersion</key>
<string>@FULL_VERSION@</string>
<key>CFBundleShortVersionString</key>