/
githubmirror
/
client
Обзор
Документация
Войти
/
githubmirror
/
client
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
osx/Scripts/build_installer.sh
18 строк
491 B
Gabriel Handford
Installer timeout variable on if app opened from user or boot (#4397)
07 окт 2016, 01:41
07 окт 2016, 01:41
e66cd60
Код
Авторство
О чём код?
#!/bin/bash set -e -u -o pipefail # Fail on error dir=$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd ) cd "$dir" app_name="KeybaseInstaller" plist="$dir/../Installer/Info.plist" copy_into_bundle=${COPY_INTO_BUNDLE:-} APP_NAME=$app_name SCHEME="Installer" PLIST="$plist" ./build.sh if [ "$copy_into_bundle" = "1" ]; then dest="/Applications/Keybase.app/Contents/Resources/$app_name.app" echo "Copying into bundle $dest" rm -rf "$dest" ditto "$dir/build/$app_name.app" "$dest" fi