mirror of
https://github.com/arichornlover/uYouEnhanced.git
synced 2026-04-21 07:41:59 +00:00
edit bundle name/ app name
This commit is contained in:
parent
9edcd82315
commit
aed43dc389
1 changed files with 15 additions and 0 deletions
15
.github/workflows/buildapp.yml
vendored
15
.github/workflows/buildapp.yml
vendored
|
|
@ -21,6 +21,16 @@ on:
|
||||||
default: ""
|
default: ""
|
||||||
required: true
|
required: true
|
||||||
type: string
|
type: string
|
||||||
|
bundle_id:
|
||||||
|
description: "Modify the bundle ID. Not recommended"
|
||||||
|
default: "com.google.ios.youtube"
|
||||||
|
required: true
|
||||||
|
type: string
|
||||||
|
app_name:
|
||||||
|
description: "Modify the name of the app on the Home Screen. Not recommended"
|
||||||
|
default: "YouTube"
|
||||||
|
required: true
|
||||||
|
type: string
|
||||||
create_release:
|
create_release:
|
||||||
description: "Create a draft release"
|
description: "Create a draft release"
|
||||||
default: true
|
default: true
|
||||||
|
|
@ -107,15 +117,20 @@ jobs:
|
||||||
run: |
|
run: |
|
||||||
(echo 'THEOS_IGNORE_PARALLEL_BUILDING_NOTICE = yes' >> ~/.theosrc)
|
(echo 'THEOS_IGNORE_PARALLEL_BUILDING_NOTICE = yes' >> ~/.theosrc)
|
||||||
cd ${{ github.workspace }}/main
|
cd ${{ github.workspace }}/main
|
||||||
|
sed -i '' "12s#.*#BUNDLE_ID = ${{ env.BUNDLE_ID }}#g" Makefile
|
||||||
|
sed -i '' "11s#.*#DISPLAY_NAME = ${{ env.APP_NAME }}#g" Makefile
|
||||||
make package FINALPACKAGE=1
|
make package FINALPACKAGE=1
|
||||||
(mv "packages/$(ls -t packages | head -n1)" "packages/uYouPlus_${{ env.YOUTUBE_VERSION }}_${{ env.UYOU_VERSION }}.ipa")
|
(mv "packages/$(ls -t packages | head -n1)" "packages/uYouPlus_${{ env.YOUTUBE_VERSION }}_${{ env.UYOU_VERSION }}.ipa")
|
||||||
echo "package=$(ls -t packages | head -n1)" >>$GITHUB_OUTPUT
|
echo "package=$(ls -t packages | head -n1)" >>$GITHUB_OUTPUT
|
||||||
echo -e "==> \033[1mSHASUM256: $(shasum -a 256 packages/*.ipa | cut -f1 -d' ')\033[0m"
|
echo -e "==> \033[1mSHASUM256: $(shasum -a 256 packages/*.ipa | cut -f1 -d' ')\033[0m"
|
||||||
|
echo -e "==> \033[1mBundle ID: ${{ env.BUNDLE_ID }}\033[0m"
|
||||||
|
|
||||||
env:
|
env:
|
||||||
THEOS: ${{ github.workspace }}/theos
|
THEOS: ${{ github.workspace }}/theos
|
||||||
UYOU_VERSION: ${{ inputs.uyou_version }}
|
UYOU_VERSION: ${{ inputs.uyou_version }}
|
||||||
YOUTUBE_VERSION: ${{ inputs.youtube_version }}
|
YOUTUBE_VERSION: ${{ inputs.youtube_version }}
|
||||||
|
BUNDLE_ID: ${{ inputs.bundle_id }}
|
||||||
|
APP_NAME: ${{ inputs.app_name }}
|
||||||
|
|
||||||
- name: Upload Artifact
|
- name: Upload Artifact
|
||||||
uses: actions/upload-artifact@v3
|
uses: actions/upload-artifact@v3
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue