Browse Source

osx: don't build bottles

use_builds_script
Alexandros Theodotou 2 years ago
parent
commit
e6eac072b8
Signed by: alex
GPG Key ID: 022EAE42313D70F3
  1. 10
      osx-brew/make_bottle.sh.in
  2. 10
      tools/osx/launcher.sh

10
osx-brew/make_bottle.sh.in

@ -31,9 +31,11 @@ pushd $private_dir @@ -31,9 +31,11 @@ pushd $private_dir
echo "unlinking $formula_name..."
brew unlink $formula_name || true
echo "installing $formula_name..."
brew install --verbose --debug --build-bottle $formula_name || true
echo "bottling $formula_name..."
brew bottle $formula_name
brew install --verbose --debug $formula_name || true
#echo "bottling $formula_name..."
#brew bottle $formula_name
#echo "bottled"
ls -l
popd
cp $private_dir/*.catalina.bottle.tar.gz $out_file
#cp $private_dir/*.catalina.bottle.tar.gz $out_file
touch $out_file

10
tools/osx/launcher.sh

@ -30,11 +30,13 @@ export GDK_PIXBUF_MODULEDIR="$bundle_lib/gdk-pixbuf-2.0/2.10.0/loaders" @@ -30,11 +30,13 @@ export GDK_PIXBUF_MODULEDIR="$bundle_lib/gdk-pixbuf-2.0/2.10.0/loaders"
I18NDIR="$bundle_data/locale"
# set language
defaults read zrythm /org/zrythm/Zrythm/preferences/language
cmd="defaults read zrythm /org/zrythm/Zrythm/preferences/ui/general/language"
$cmd > /dev/null
if [[ $? == 0 ]]; then
PREFERENCES_LANG=`defaults read zrythm /org/zrythm/Zrythm/preferences/language`
export LANG="$PREFERENCES_LANG"
export LC_MESSAGES="$PREFERENCES_LANG"
preferences_lang=`$cmd | sed -e "s|'||g"`
lang=`locale -a | grep $preferences_lang | head -n 1`
export LANG="$preferences_lang"
export LC_MESSAGES="$preferences_lang"
fi
# Strip out the argument added by the OS.

Loading…
Cancel
Save