Commit 798aff29 authored by 神楽坂玲奈's avatar 神楽坂玲奈

icon

parent 8a421013
...@@ -38,17 +38,14 @@ script: ...@@ -38,17 +38,14 @@ script:
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then
# app bundle # app bundle
mkdir -p ygopro.app/Contents/MacOS; mkdir -p ygopro.app/Contents/MacOS;
# main execuatable # main execuatable
mv bin/release/ygopro ygopro.app/Contents/MacOS; mv bin/release/ygopro ygopro.app/Contents/MacOS;
dylibbundler -od -b -x ./ygopro.app/Contents/MacOS/ygopro -d ./ygopro.app/Contents/Frameworks/; dylibbundler -od -b -x ./ygopro.app/Contents/MacOS/ygopro -d ./ygopro.app/Contents/Frameworks/;
strip ygopro.app/Contents/MacOS/ygopro; strip ygopro.app/Contents/MacOS/ygopro;
# resources # resources
mkdir ygopro.app/Contents/Resources mkdir ygopro.app/Contents/Resources
mv premake/gframe/ygopro.icns ygopro.app/Contents/Resources/Icon.icns mv premake/gframe/ygopro.icns ygopro.app/Contents/Resources/Icon.icns
defaults write "$PWD/ygopro.app/Contents/Info.plist" "CFBundleIconFile" "Icon.icns" defaults write "$PWD/ygopro.app/Contents/Info.plist" "CFBundleIconFile" "Icon.icns"
# code sign # code sign
echo $CERTIFICATE | base64 --decode --output cert.p12; echo $CERTIFICATE | base64 --decode --output cert.p12;
security create-keychain -p "" build.keychain; security create-keychain -p "" build.keychain;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment