Skip to content

Commit a3c6eab

Browse files
committed
2.0.1, actions, templates
1 parent e1071e8 commit a3c6eab

File tree

13 files changed

+215
-1
lines changed

13 files changed

+215
-1
lines changed
Lines changed: 61 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,61 @@
1+
name: Bug report
2+
description: This issue template is designed to help you report problems and suggest improvements for our project.
3+
labels: bug
4+
body:
5+
- type: textarea
6+
attributes:
7+
label: Describe the bug
8+
description: Describe the issue in detail here, including any relevant context or background information. Be clear and concise.
9+
placeholder: |
10+
Enter your description here
11+
render: yaml
12+
validations:
13+
required: true
14+
15+
- type: textarea
16+
attributes:
17+
label: Steps to reproduce
18+
description: |
19+
Steps to reproduce the behavior (bug)
20+
placeholder: |
21+
Example:
22+
1. Go to Main tab
23+
2. Tap to the music
24+
3. See error
25+
render: yaml
26+
validations:
27+
required: true
28+
29+
- type: textarea
30+
attributes:
31+
label: Crashlog
32+
description: |
33+
**Do not put text from crashlog, include zipped Crashlog_File.ips instead**
34+
35+
**To find and attach your crashlog:**
36+
1. Open the Analytics & Improvements section of Settings on the device.
37+
2. Tap Analytics Data.
38+
3. Locate the log for your app. The log name starts with YouTubeMusic_(DateTime).
39+
4. Select the desired log.
40+
5. Tap the Share icon, save it in the Files app, then zip saved file.
41+
placeholder: |
42+
Drag and drop your Crashlog.zip here.
43+
validations:
44+
required: false
45+
46+
- type: checkboxes
47+
attributes:
48+
label: Post Requisites
49+
description: |
50+
**IMPORTANT:** Read carefully before checking the box.
51+
options:
52+
- label: I have checked that a similar issue has not been reported before.
53+
required: true
54+
- label: Verified the relevance of the project and the version you are using.
55+
required: true
56+
- label: Provided a detailed description of the problem and have filled in all required fields.
57+
required: true
58+
- label: I did not answer truthfully to **ALL** the above checkboxes.
59+
required: false
60+
- label: By submitting this issue, **I confirm that I have filled in all the necessary fields and complied with the guidelines. Failure to comply may result in the issue being closed without discussion, and repeated violations may lead to restrict account from further participation.**
61+
required: true

.github/ISSUE_TEMPLATE/config.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
blank_issues_enabled: false
Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
name: Feature request
2+
description: This template is designed to help you suggest improvements or new features for our project.
3+
labels: enhancement
4+
body:
5+
- type: textarea
6+
attributes:
7+
label: Describe the feature request
8+
description: Describe the feature or enhancement in detail here. Include any relevant context or background information. Be clear and concise.
9+
placeholder: |
10+
Enter your description here
11+
render: yaml
12+
validations:
13+
required: true
14+
15+
- type: checkboxes
16+
attributes:
17+
label: Post Requisites
18+
description: |
19+
**IMPORTANT:** Read carefully before checking the box.
20+
options:
21+
- label: I have checked that a similar feature request has not been reported before.
22+
required: true
23+
- label: Verified the relevance of the project and the version you are using.
24+
required: true
25+
- label: Provided a detailed description of the request and have filled in all required fields.
26+
required: true
27+
- label: I did not answer truthfully to **ALL** the above checkboxes.
28+
required: false
29+
- label: By submitting this request, **I confirm that I have filled in all the necessary fields and complied with the guidelines. Failure to comply may result in the request being closed without discussion, and repeated violations may lead to restrict account from further participation.**
30+
required: true

.github/workflows/main.yml

Lines changed: 93 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,93 @@
1+
name: Create Infuse Plus app
2+
3+
on:
4+
workflow_dispatch:
5+
inputs:
6+
7+
ipa_url:
8+
description: "URL to the decrypted IPA file"
9+
default: ""
10+
required: true
11+
type: string
12+
13+
tweak_version:
14+
description: "The version of the tweak to use. Enter the version manually from dayanch96/InfusePlus/releases or leave default"
15+
default: "2.0.1"
16+
required: true
17+
type: string
18+
19+
display_name:
20+
description: "App Name (Optional)"
21+
default: "Infuse"
22+
required: true
23+
type: string
24+
25+
bundle_id:
26+
description: "BundleID (Optional)"
27+
default: "com.firecore.infuse"
28+
required: true
29+
type: string
30+
31+
concurrency:
32+
group: ${{ github.workflow }}-${{ github.ref }}
33+
cancel-in-progress: true
34+
35+
jobs:
36+
build:
37+
name:
38+
runs-on: macos-latest
39+
permissions:
40+
contents: write
41+
42+
steps:
43+
- name: Checkout Main
44+
uses: actions/checkout@v4.1.1
45+
with:
46+
path: main
47+
submodules: recursive
48+
49+
- name: Hide sensitive inputs
50+
uses: levibostian/action-hide-sensitive-inputs@v1
51+
52+
- name: Validate IPA URL
53+
run: |
54+
curl -L -r 0-1023 -o sample.part "${{ inputs.ipa_url }}" > /dev/null 2>&1
55+
file_type=$(file --mime-type -b sample.part)
56+
57+
if [[ "$file_type" != "application/x-ios-app" && "$file_type" != "application/zip" ]]; then
58+
echo "::error::Validation failed: The file is not a valid IPA file. Detected type: $file_type."
59+
exit 1
60+
fi
61+
62+
- name: Install Dependencies
63+
run: brew install make ldid
64+
65+
- name: Set PATH environment variable
66+
run: echo "$(brew --prefix make)/libexec/gnubin" >> $GITHUB_PATH
67+
68+
- name: Install cyan
69+
run: pipx install --force https://github.com/asdfzxcvbn/pyzule-rw/archive/main.zip
70+
71+
- name: Download Infuse Plus
72+
id: download_infp
73+
run: |
74+
deb_url="https://github.com/dayanch96/InfusePlus/releases/download/v${{ inputs.tweak_version }}/com.dvntm.infuseplus_${{ inputs.tweak_version }}_iphoneos-arm.deb"
75+
wget "$deb_url" --no-verbose -O ${{ github.workspace }}/infplus.deb
76+
77+
- name: Download Infuse
78+
id: download_infuse
79+
run: wget "${{ inputs.ipa_url }}" --no-verbose -O ${{ github.workspace }}/infuse.ipa
80+
81+
- name: Inject tweaks into IPA
82+
run: cyan -i infuse.ipa -o InfusePlus_${{ inputs.tweak_version }}.ipa -uwef infplus.deb -n "${{ inputs.display_name }}" -b ${{ inputs.bundle_id }}
83+
84+
- name: Upload to GitHub Releases
85+
uses: softprops/action-gh-release@v2.0.1
86+
with:
87+
name: InfusePlus v${{ inputs.tweak_version }} (${{ github.run_number }})
88+
files: InfusePlus_${{ inputs.tweak_version }}.ipa
89+
draft: true
90+
91+
- name: Output Release URL
92+
run: |
93+
echo "::notice::Release available at: https://github.com/${{ github.repository }}/releases"

InfusePlus.bundle/Base.lproj/Localizable.strings

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@
3030
"BatteryPercentageDesc" = "Displays the battery percentage in the status bar";
3131
"ModernPercentage" = "Modern Percentage";
3232
"ModernPercentageDesc" = "Combines the battery icon and percentage, as shown in the icon";
33+
"StatusBarFooter" = "On some devices, the battery percentage may be rounded to the nearest 5%. This is a limitation set by Apple.";
3334

3435
"SpeedByLongTap" = "Speed Up Playback";
3536
"SpeedByLongTapDesc" = "Pressing and holding the overlay speeds up playback rate";

InfusePlus.bundle/ar.lproj/Localizable.strings

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@
3030
"BatteryPercentageDesc" = "Displays the battery percentage in the status bar";
3131
"ModernPercentage" = "Modern Percentage";
3232
"ModernPercentageDesc" = "Combines the battery icon and percentage, as shown in the icon";
33+
"StatusBarFooter" = "On some devices, the battery percentage may be rounded to the nearest 5%. This is a limitation set by Apple.";
3334

3435
"SpeedByLongTap" = "Speed Up Playback";
3536
"SpeedByLongTapDesc" = "Pressing and holding the overlay speeds up playback rate";

InfusePlus.bundle/es.lproj/Localizable.strings

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@
3030
"BatteryPercentageDesc" = "Muestra el porcentaje de batería en la barra de estado";
3131
"ModernPercentage" = "Porcentaje moderno";
3232
"ModernPercentageDesc" = "Combina el icono de la batería y el porcentaje, como se muestra en el icono";
33+
"StatusBarFooter" = "On some devices, the battery percentage may be rounded to the nearest 5%. This is a limitation set by Apple.";
3334

3435
"SpeedByLongTap" = "Acelerar reproducción";
3536
"SpeedByLongTapDesc" = "Manteniendo pulsada la superposición se acelera la velocidad de reproducción";

InfusePlus.bundle/ja.lproj/Localizable.strings

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@
3030
"BatteryPercentageDesc" = "Displays the battery percentage in the status bar";
3131
"ModernPercentage" = "Modern Percentage";
3232
"ModernPercentageDesc" = "Combines the battery icon and percentage, as shown in the icon";
33+
"StatusBarFooter" = "On some devices, the battery percentage may be rounded to the nearest 5%. This is a limitation set by Apple.";
3334

3435
"SpeedByLongTap" = "Speed Up Playback";
3536
"SpeedByLongTapDesc" = "Pressing and holding the overlay speeds up playback rate";

InfusePlus.bundle/ru.lproj/Localizable.strings

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@
3030
"BatteryPercentageDesc" = "Отображает проценты оставшегося заряда в статус-баре";
3131
"ModernPercentage" = "Современный вид";
3232
"ModernPercentageDesc" = "Отображает проценты внутри иконки аккумулятора, как показано в примере слева.";
33+
"StatusBarFooter" = "На некоторых устройствах процент заряда батареи может округляться до ближайших 5%. Это ограничение, установленное Apple.";
3334

3435
"SpeedByLongTap" = "Ускорять зажатием";
3536
"SpeedByLongTapDesc" = "Позволяет ускорять видео зажатием по экрану воспроизведения";

InfusePlus.bundle/vi.lproj/Localizable.strings

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@
3030
"BatteryPercentageDesc" = "Displays the battery percentage in the status bar";
3131
"ModernPercentage" = "Modern Percentage";
3232
"ModernPercentageDesc" = "Combines the battery icon and percentage, as shown in the icon";
33+
"StatusBarFooter" = "On some devices, the battery percentage may be rounded to the nearest 5%. This is a limitation set by Apple.";
3334

3435
"SpeedByLongTap" = "Speed Up Playback";
3536
"SpeedByLongTapDesc" = "Pressing and holding the overlay speeds up playback rate";

0 commit comments

Comments
 (0)