Update Installer & CI Paths

This commit is contained in:
Mahmood(Thunder07) 2018-01-12 05:15:34 +00:00
parent eb5976a6b4
commit aabda8f2a4
5 changed files with 12 additions and 12 deletions

View file

@ -61,11 +61,11 @@ travis_script()
elif [ "$TARGET_OS" = "OSX" ]; then
cmake .. -G"$BUILD_TYPE"
cmake --build . --config Release
appdmg ../../installer_macosx/spec.json Play.dmg
appdmg ../installer_macosx/spec.json Play.dmg
elif [ "$TARGET_OS" = "IOS" ]; then
cmake .. -G"$BUILD_TYPE" -DCMAKE_TOOLCHAIN_FILE=../../../Dependencies/cmake-ios/ios.cmake -DTARGET_IOS=ON
cmake .. -G"$BUILD_TYPE" -DCMAKE_TOOLCHAIN_FILE=../../Dependencies/cmake-ios/ios.cmake -DTARGET_IOS=ON
cmake --build . --config Release
codesign -s "-" Release-iphoneos/Play.app
codesign -s "-" Source/ui_ios/Release-iphoneos/Play.app
pushd ..
pushd installer_ios
./build.sh
@ -88,17 +88,17 @@ travis_before_deploy()
return
fi;
if [ "$TARGET_OS" = "Android" ]; then
cp ../../build_android/build/outputs/apk/release/Play-release-unsigned.apk .
cp ../build_android/build/outputs/apk/release/Play-release-unsigned.apk .
export ANDROID_BUILD_TOOLS=$ANDROID_HOME/build-tools/26.0.2
$ANDROID_BUILD_TOOLS/zipalign -v -p 4 Play-release-unsigned.apk Play-release.apk
$ANDROID_BUILD_TOOLS/apksigner sign --ks ../../installer_android/deploy.keystore --ks-key-alias deploy --ks-pass env:ANDROID_KEYSTORE_PASS --key-pass env:ANDROID_KEYSTORE_PASS Play-release.apk
$ANDROID_BUILD_TOOLS/apksigner sign --ks ../installer_android/deploy.keystore --ks-key-alias deploy --ks-pass env:ANDROID_KEYSTORE_PASS --key-pass env:ANDROID_KEYSTORE_PASS Play-release.apk
fi;
if [ "$TARGET_OS" = "OSX" ]; then
cp ../../build/Play.dmg .
cp ../build/Play.dmg .
fi;
if [ "$TARGET_OS" = "IOS" ]; then
cp ../../installer_ios/Play.deb .
cp ../../installer_ios/Packages.bz2 .
cp ../installer_ios/Play.deb .
cp ../installer_ios/Packages.bz2 .
fi;
popd
popd

View file

@ -1,7 +1,7 @@
#/bin/bash
set -e
mkdir -p Play/Applications/Play.app
rsync -a ../build/Release-iphoneos/Play.app/* Play/Applications/Play.app
rsync -a ../build/Source/ui_ios/Release-iphoneos/Play.app/* Play/Applications/Play.app
chmod -R 775 Play
dpkg-deb -Zgzip -b Play
dpkg-scanpackages -m . /dev/null > Packages

View file

@ -4,7 +4,7 @@
"icon-size": 80,
"contents":
[
{ "x": 160, "y": 300, "type": "file", "path": "../build_cmake/build/Release/Play.app" },
{ "x": 160, "y": 300, "type": "file", "path": "../build/Source/ui_macosx/Release/Play.app" },
{ "x": 480, "y": 300, "type": "link", "path": "/Applications" }
]
}

View file

@ -62,7 +62,7 @@ Section "Play! (required)"
SetOutPath $INSTDIR
; Put file there
File "..\build_cmake\build\Release\Play.exe"
File "..\build\Source\ui_win32\Release\Play.exe"
File "..\Readme.html"
File "..\Changelog.html"
File "..\Patches.xml"

View file

@ -63,7 +63,7 @@ Section "Play! (required)"
SetOutPath $INSTDIR
; Put file there
File "..\build_cmake\build\Release\Play.exe"
File "..\build\Source\ui_win32\Release\Play.exe"
File "..\Readme.html"
File "..\Changelog.html"
File "..\Patches.xml"