Commit 93f8e9e8 authored by 神楽坂玲奈's avatar 神楽坂玲奈

icon

parent 798aff29
......@@ -36,17 +36,13 @@ script:
- cd ..
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then mv bin/release/ygopro ./; strip ygopro; fi
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then
# app bundle
mkdir -p ygopro.app/Contents/MacOS;
# main execuatable
mv bin/release/ygopro ygopro.app/Contents/MacOS;
dylibbundler -od -b -x ./ygopro.app/Contents/MacOS/ygopro -d ./ygopro.app/Contents/Frameworks/;
strip ygopro.app/Contents/MacOS/ygopro;
# resources
mkdir ygopro.app/Contents/Resources
mv premake/gframe/ygopro.icns ygopro.app/Contents/Resources/Icon.icns
defaults write "$PWD/ygopro.app/Contents/Info.plist" "CFBundleIconFile" "Icon.icns"
# code sign
echo $CERTIFICATE | base64 --decode --output cert.p12;
security create-keychain -p "" build.keychain;
security unlock-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