Merge pull request #710 from CloverHackyColor/Test-Fix

Fix Clover Package
This commit is contained in:
Sergey 2024-09-14 09:34:16 +03:00 committed by GitHub
commit 07fa0790af
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with 11 additions and 13 deletions

View File

@ -39,7 +39,7 @@ jobs:
- name: Upload to Artifacts
uses: actions/upload-artifact@v4
with:
name: Clover beta-${{ env.GIT_SHA }}
name: Clover-GCC-14.1.0-${{ env.GIT_SHA }}
path: |
*.7z
CloverV2*.zip

View File

@ -22,8 +22,8 @@ slimpkg2:
slimpkg3:
@${SRCROOT}/makepkg --nothemes --norc --nolegacy
#updatepo:
# @${SRCROOT}/package/translate.sh --update-po
updatepo:
@${SRCROOT}/package/translate.sh --update-po
utils:
@make -C "${SRCROOT}"/utils all
@ -32,8 +32,6 @@ install:
@make -C "${SRCROOT}"/utils install
clean:
rm -rf sym obj dst
#CloverPrefpane/build CloverUpdater/build
.PHONY: clean image iso pkg installer utils
rm -rf sym obj dst CloverPrefpane/build CloverUpdater/build
.PHONY: clean image iso pkg installer updatepo utils

View File

@ -56,7 +56,7 @@ echo "${revision}" > revision
# Make the translation
echo ""
echo "========= Translating Resources ========"
#./package/translate.sh || exit $?
./package/translate.sh || exit $?
# Check that XCode is install properly
xcode_path=$(/usr/bin/xcode-select --print-path 2>/dev/null)

View File

@ -58,17 +58,17 @@ while [[ $# -gt 0 ]]; do
done
TEMPLATES_DIR="Resources/templates"
#CLOVER_UPDATER_DIR="../CloverUpdater"
#CLOVER_PREFPANE_DIR="../CloverPrefpane"
CLOVER_UPDATER_DIR="../CloverUpdater"
CLOVER_PREFPANE_DIR="../CloverPrefpane"
PODIR="po"
# Update CloverUpdater.strings
#"$CLOVER_UPDATER_DIR"/translate_xib.sh --extract-only
"$CLOVER_UPDATER_DIR"/translate_xib.sh --extract-only
# Update CloverPrefpane.strings
#"$CLOVER_PREFPANE_DIR"/translate_xib.sh --extract-only
"$CLOVER_PREFPANE_DIR"/translate_xib.sh --extract-only
# Update Localizable.strings
#"$CLOVER_PREFPANE_DIR"/translate_source.sh --extract-only
"$CLOVER_PREFPANE_DIR"/translate_source.sh --extract-only
# Check if pot and po files need to be updated
IFS=$'\n' # '