mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2026-03-14 05:09:59 +01:00
Try to add embed fonts for macOS
This commit is contained in:
@@ -190,7 +190,7 @@ echo "Copy file missing:"
|
||||
QET_ELMT_DIR="${current_dir}/elements/"
|
||||
QET_TBT_DIR="${current_dir}/titleblocks/"
|
||||
QET_LANG_DIR="${current_dir}/lang/"
|
||||
|
||||
QET_FONTS_DIR="${current_dir}/fonts/"
|
||||
|
||||
# Add new folder for Qt dialog translation see
|
||||
## see <https://download.tuxfamily.org/qet/Qt_lang/>.
|
||||
@@ -221,6 +221,12 @@ if [ -d "${LANG_DIR}" ]; then
|
||||
|
||||
fi
|
||||
|
||||
if [ -d "${QET_FONTS_DIR}" ]; then
|
||||
echo "Copying fonts in the bundle... "
|
||||
mkdir $BUNDLE/Contents/Resources/fonts
|
||||
cp ${current_dir}/fonts/*.ttf $BUNDLE/Contents/Resources/fonts
|
||||
|
||||
fi
|
||||
|
||||
### create disk image ###############################################
|
||||
|
||||
|
||||
Reference in New Issue
Block a user