Simplify the process of building the universal bundle on the macOS
This commit is contained in:
parent
c1b2811bbf
commit
e26c2873db
6 changed files with 28 additions and 8 deletions
|
|
@ -1,7 +1,9 @@
|
|||
#!/bin/bash
|
||||
|
||||
if [[ -d TuxPaint.app ]]; then
|
||||
cd TuxPaint.app/Contents && FONTCONFIG_PATH=Resources/etc fc-list
|
||||
BUNDLE=TuxPaint-$(uname -m).app
|
||||
|
||||
if [[ -d "${BUNDLE}" ]]; then
|
||||
cd "${BUNDLE}/Contents" && FONTCONFIG_PATH=Resources/etc fc-list
|
||||
else
|
||||
echo "./TuxPaint.app: No such folder" 1>&2
|
||||
echo "./${BUNDLE}: No such folder" 1>&2
|
||||
fi
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue