mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2025-12-18 13:30:34 +01:00
MacQetDeploy_arm64.sh add examples in bundle
This commit is contained in:
@@ -64,11 +64,6 @@ echo
|
|||||||
echo "______________________________________________________________"
|
echo "______________________________________________________________"
|
||||||
echo "Run GIT:"
|
echo "Run GIT:"
|
||||||
|
|
||||||
# recupere le numero de la dernière revision
|
|
||||||
# Si il y a ':' garde la 2e partie
|
|
||||||
# Remplace les lettres par 'rien'
|
|
||||||
#revAv=$(svnversion | cut -d : -f 2 | tr -d '[:alpha:]')
|
|
||||||
|
|
||||||
# Fait une mise à jour
|
# Fait une mise à jour
|
||||||
git pull
|
git pull
|
||||||
#git checkout foliolist_position
|
#git checkout foliolist_position
|
||||||
@@ -181,6 +176,7 @@ echo "Copy file missing:"
|
|||||||
QET_ELMT_DIR="${current_dir}/elements/"
|
QET_ELMT_DIR="${current_dir}/elements/"
|
||||||
QET_TBT_DIR="${current_dir}/titleblocks/"
|
QET_TBT_DIR="${current_dir}/titleblocks/"
|
||||||
QET_LANG_DIR="${current_dir}/lang/"
|
QET_LANG_DIR="${current_dir}/lang/"
|
||||||
|
QET_EXAMPLES_DIR="${current_dir}/examples/"
|
||||||
|
|
||||||
|
|
||||||
# Add new folder for Qt dialog translation see
|
# Add new folder for Qt dialog translation see
|
||||||
@@ -210,6 +206,13 @@ if [ -d "${LANG_DIR}" ]; then
|
|||||||
echo "Copying translations in the bundle... "
|
echo "Copying translations in the bundle... "
|
||||||
cp ${current_dir}/lang1/*.qm $BUNDLE/Contents/Resources/lang
|
cp ${current_dir}/lang1/*.qm $BUNDLE/Contents/Resources/lang
|
||||||
|
|
||||||
|
fi
|
||||||
|
|
||||||
|
if [ -d "${QET_EXAMPLES_DIR}" ]; then
|
||||||
|
echo "Copying examples in the bundle... "
|
||||||
|
mkdir $BUNDLE/Contents/Resources/examples
|
||||||
|
cp ${current_dir}/examples/*.qet $BUNDLE/Contents/Resources/examples
|
||||||
|
|
||||||
fi
|
fi
|
||||||
codesign --force --deep --sign --timestamp -s "Developer ID Application: Laurent TRINQUES (Y73WZ6WZ5X)" $BUNDLE
|
codesign --force --deep --sign --timestamp -s "Developer ID Application: Laurent TRINQUES (Y73WZ6WZ5X)" $BUNDLE
|
||||||
### create zip tarball ###############################################
|
### create zip tarball ###############################################
|
||||||
|
|||||||
Reference in New Issue
Block a user