forked from arichornlover/uYouEnhanced
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'arichornlover:main' into main
- Loading branch information
Showing
86 changed files
with
2,473 additions
and
1,392 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
name: Feature Request | ||
description: Request a new feature to be added | ||
title: "[Request] Replace with your question" | ||
labels: enhancement | ||
body: | ||
- type: checkboxes | ||
attributes: | ||
label: Is there an existing issue for this? | ||
options: | ||
- label: I have searched the existing issues | ||
required: true | ||
|
||
- type: dropdown | ||
attributes: | ||
label: Do you use YouTube Premium? | ||
options: | ||
- ❌ No, I don't use YouTube Premium | ||
- ✅ Yes, I do use YouTube Premium | ||
validations: | ||
required: true | ||
|
||
- type: textarea | ||
attributes: | ||
label: My feature request | ||
validations: | ||
required: true | ||
|
||
- type: textarea | ||
attributes: | ||
label: Additional context | ||
validations: | ||
required: false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,40 +7,45 @@ on: | |
workflow_dispatch: | ||
inputs: | ||
sdk_version: | ||
description: "iOS SDK version to be used during build" | ||
default: "16.2" | ||
description: "iOS SDK Version" | ||
default: "16.4" | ||
required: true | ||
type: string | ||
uyou_version: | ||
description: "The version of uYou" | ||
description: "uYou Version" | ||
default: "3.0.3" | ||
required: true | ||
type: string | ||
decrypted_youtube_url: | ||
description: "The direct URL to the decrypted YouTube ipa" | ||
description: "Direct URL of the decrypted YouTube IPA" | ||
default: "" | ||
required: true | ||
type: string | ||
bundle_id: | ||
description: "Modify the bundle ID. Not recommended" | ||
description: "Modify the bundle ID" | ||
default: "com.google.ios.youtube" | ||
required: true | ||
type: string | ||
app_name: | ||
description: "Modify the name of the app on the Home Screen. Not recommended" | ||
description: "Modify the app name" | ||
default: "YouTube" | ||
required: true | ||
type: string | ||
create_release: | ||
description: "Create a draft release" | ||
default: true | ||
commit_id: | ||
description: "(Optional) Commit ID to build at" | ||
default: "" | ||
required: false | ||
type: boolean | ||
type: string | ||
upload_artifact: | ||
description: "Upload Artifact" | ||
description: "Upload IPA as artifact" | ||
default: true | ||
required: false | ||
type: boolean | ||
create_release: | ||
description: "Create a draft release" | ||
default: false | ||
required: false | ||
type: boolean | ||
|
||
concurrency: | ||
group: ${{ github.workflow }}-${{ github.ref }} | ||
|
@@ -49,7 +54,7 @@ concurrency: | |
jobs: | ||
build: | ||
name: Build uYouEnhanced | ||
runs-on: macos-latest | ||
runs-on: macos-12 | ||
permissions: | ||
contents: write | ||
|
||
|
@@ -58,6 +63,7 @@ jobs: | |
uses: actions/[email protected] | ||
with: | ||
path: main | ||
ref: ${{ github.event.inputs.commit_id || github.ref }} | ||
submodules: recursive | ||
|
||
- name: Install Dependencies | ||
|
@@ -70,13 +76,13 @@ jobs: | |
uses: actions/[email protected] | ||
with: | ||
repository: theos/theos | ||
ref: 4bcc52914e0eeca719288522938185decaa8a1cb | ||
ref: master | ||
path: theos | ||
submodules: recursive | ||
|
||
- name: SDK Caching | ||
id: SDK | ||
uses: actions/[email protected].1 | ||
uses: actions/[email protected].2 | ||
env: | ||
cache-name: iOS-${{ inputs.sdk_version }}-SDK | ||
with: | ||
|
@@ -87,7 +93,7 @@ jobs: | |
- name: Download iOS SDK | ||
if: steps.SDK.outputs.cache-hit != 'true' | ||
run: | | ||
git clone --quiet -n --depth=1 --filter=tree:0 https://github.com/arichorn/sdks/ | ||
git clone --quiet -n --depth=1 --filter=tree:0 https://github.com/arichornlover/sdks/ | ||
cd sdks | ||
git sparse-checkout set --no-cone iPhoneOS${{ inputs.sdk_version }}.sdk | ||
git checkout | ||
|
@@ -129,8 +135,9 @@ jobs: | |
id: build_package | ||
run: | | ||
cd ${{ github.workspace }}/main | ||
sed -i '' "27s#.*#BUNDLE_ID = ${{ env.BUNDLE_ID }}#g" Makefile | ||
sed -i '' "26s#.*#DISPLAY_NAME = ${{ env.APP_NAME }}#g" Makefile | ||
sed -i '' "27s#.*#BUNDLE_ID = ${{ env.BUNDLE_ID }}#g" Makefile # Modify the bundle ID | ||
sed -i '' "26s#.*#DISPLAY_NAME = ${{ env.APP_NAME }}#g" Makefile # Modify the app name | ||
sed -i '' "1s#.*#export TARGET = iphone:clang:${{ inputs.sdk_version }}:14.0#g" Makefile # Modify the SDK version | ||
make package THEOS_PACKAGE_SCHEME=rootless IPA=Payload/YouTube.app FINALPACKAGE=1 | ||
echo "package=$(ls -t packages | head -n1)" >>$GITHUB_OUTPUT | ||
echo -e "==> \033[1mSHASUM256: $(shasum -a 256 packages/*.ipa | cut -f1 -d' ')\033[0m" | ||
|
@@ -154,15 +161,15 @@ jobs: | |
if-no-files-found: error | ||
|
||
- name: Create Release | ||
if: ${{ inputs.create_release }} | ||
id: create_release | ||
uses: softprops/[email protected].1 | ||
uses: softprops/[email protected].4 | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
UYOU_VERSION: ${{ inputs.uyou_version }} | ||
YOUTUBE_VERSION: ${{ steps.prepare_youtube.outputs.youtube_version }} | ||
DRAFT: ${{ inputs.create_release }} | ||
with: | ||
tag_name: v${{ env.YOUTUBE_VERSION }}-${{ env.UYOU_VERSION }}-(${{ github.run_number }}) | ||
name: v${{ env.YOUTUBE_VERSION }}-${{ env.UYOU_VERSION }}-(${{ github.run_number }}) | ||
files: main/packages/*.ipa | ||
draft: ${{ env.DRAFT }} | ||
draft: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.