You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
nuTensor/tools/make-opera.sh

23 lines
711 B
Bash

10 years ago
#!/bin/bash
#
# This script assumes a linux environment
echo "*** µMatrix(Opera): Creating package"
echo "*** µMatrix(Opera): Copying files"
10 years ago
DES=./dist/uMatrix.opera
rm -r $DES
mkdir -p $DES
cp -R ./src/* $DES/
cp -R ./assets $DES/
cp ./meta/chromium/* $DES/
10 years ago
# Copy only locales with fully translated description
10 years ago
mkdir -p $DES/_locales
cp -R ./tools/_locales/de $DES/_locales/
cp -R ./tools/_locales/en $DES/_locales/
cp -R ./tools/_locales/es $DES/_locales/
cp -R ./tools/_locales/fr $DES/_locales/
cp -R ./tools/_locales/he $DES/_locales/
cp -R ./tools/_locales/pt_BR $DES/_locales/
cp -R ./tools/_locales/tr $DES/_locales/
10 years ago
echo "*** µMatrix(Opera): Package done."