Skip to content
This repository was archived by the owner on Apr 13, 2025. It is now read-only.

Commit 6abd949

Browse files
committed
ci: add app intents
Signed-off-by: 82Flex <[email protected]>
1 parent 691cdd7 commit 6abd949

File tree

7 files changed

+28
-8
lines changed

7 files changed

+28
-8
lines changed

.github/workflows/build-release.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -103,6 +103,7 @@ jobs:
103103
run: |
104104
cd $GITHUB_WORKSPACE/TrollSpeed
105105
./gen-control.sh ${{ env.GIT_TAG }}
106+
./build.sh ${{ env.GIT_TAG }}
106107
THEOS_PACKAGE_SCHEME=rootless FINALPACKAGE=1 make package
107108
FINALPACKAGE=1 make clean
108109
FINALPACKAGE=1 make package
@@ -118,6 +119,7 @@ jobs:
118119
name: TrollSpeed_${{ env.GIT_TAG }}
119120
path: |
120121
TrollSpeed/packages/TrollSpeed_*.tipa
122+
TrollSpeed/packages/TrollSpeed+Intents_*.tipa
121123
TrollSpeed/packages/ch.xxtou.hudapp_*.deb
122124
123125
- name: Upload symbols
@@ -134,4 +136,5 @@ jobs:
134136
body_path: TrollSpeed/CHANGELOG.txt
135137
files: |
136138
TrollSpeed/packages/TrollSpeed_*.tipa
139+
TrollSpeed/packages/TrollSpeed+Intents_*.tipa
137140
TrollSpeed/packages/ch.xxtou.hudapp_*.deb

CHANGELOG.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
- Appearance: Use semi-bold font for color inverted HUD.
2-
- Appearance: Disable fade out effect for color inverted HUD.
1+
- Feature: Add App Intents (i.e. Shortcuts) support for iOS 16 and above, use `TrollSpeed+Intents_*.tipa`.
2+
- For those who don't want to use App Intents or are using iOS 15 and below, use `TrollSpeed_*.tipa`.

TrollSpeed.xcodeproj/project.pbxproj

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -590,6 +590,7 @@
590590
INFOPLIST_KEY_LSApplicationCategoryType = "public.app-category.developer-tools";
591591
INFOPLIST_KEY_UIApplicationSupportsIndirectInputEvents = YES;
592592
INFOPLIST_KEY_UISupportedInterfaceOrientations = UIInterfaceOrientationPortrait;
593+
IPHONEOS_DEPLOYMENT_TARGET = 16.0;
593594
LD_RUNPATH_SEARCH_PATHS = (
594595
"$(inherited)",
595596
"@executable_path/Frameworks",
@@ -632,6 +633,7 @@
632633
INFOPLIST_KEY_LSApplicationCategoryType = "public.app-category.developer-tools";
633634
INFOPLIST_KEY_UIApplicationSupportsIndirectInputEvents = YES;
634635
INFOPLIST_KEY_UISupportedInterfaceOrientations = UIInterfaceOrientationPortrait;
636+
IPHONEOS_DEPLOYMENT_TARGET = 16.0;
635637
LD_RUNPATH_SEARCH_PATHS = (
636638
"$(inherited)",
637639
"@executable_path/Frameworks",
@@ -801,6 +803,7 @@
801803
INFOPLIST_KEY_LSApplicationCategoryType = "public.app-category.developer-tools";
802804
INFOPLIST_KEY_UIApplicationSupportsIndirectInputEvents = YES;
803805
INFOPLIST_KEY_UISupportedInterfaceOrientations = UIInterfaceOrientationPortrait;
806+
IPHONEOS_DEPLOYMENT_TARGET = 16.0;
804807
LD_RUNPATH_SEARCH_PATHS = (
805808
"$(inherited)",
806809
"@executable_path/Frameworks",
@@ -844,6 +847,7 @@
844847
INFOPLIST_KEY_LSApplicationCategoryType = "public.app-category.developer-tools";
845848
INFOPLIST_KEY_UIApplicationSupportsIndirectInputEvents = YES;
846849
INFOPLIST_KEY_UISupportedInterfaceOrientations = UIInterfaceOrientationPortrait;
850+
IPHONEOS_DEPLOYMENT_TARGET = 16.0;
847851
LD_RUNPATH_SEARCH_PATHS = (
848852
"$(inherited)",
849853
"@executable_path/Frameworks",

build.sh

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,17 @@
11
#!/bin/sh
22

3+
# This script is used to build the TrollSpeed app and create a tipa file with Xcode.
4+
if [ $# -ne 1 ]; then
5+
echo "Usage: $0 <version>"
6+
exit 1
7+
fi
8+
9+
VERSION=$1
10+
11+
# Strip leading "v" from version if present
12+
VERSION=${VERSION#v}
13+
14+
# Build using Xcode
315
xcodebuild clean build archive \
416
-scheme TrollSpeed \
517
-project TrollSpeed.xcodeproj \
@@ -17,4 +29,5 @@ mv Applications Payload
1729
ldid -Sentitlements.plist Payload/TrollSpeed.app
1830
zip -qr TrollSpeed.tipa Payload
1931
cd -
20-
mv TrollSpeed.xcarchive/Products/TrollSpeed.tipa .
32+
mkdir -p packages
33+
mv TrollSpeed.xcarchive/Products/TrollSpeed.tipa packages/TrollSpeed+Intents_$VERSION.tipa

layout/Applications/TrollSpeed.app/Info.plist

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
<key>CFBundlePackageType</key>
2222
<string>APPL</string>
2323
<key>CFBundleShortVersionString</key>
24-
<string>1.10.2</string>
24+
<string>1.11.0</string>
2525
<key>CFBundleSignature</key>
2626
<string>????</string>
2727
<key>CFBundleURLTypes</key>
@@ -36,7 +36,7 @@
3636
</dict>
3737
</array>
3838
<key>CFBundleVersion</key>
39-
<string>1.10.2</string>
39+
<string>1.11.0</string>
4040
<key>LSApplicationCategoryType</key>
4141
<string>public.app-category.developer-tools</string>
4242
<key>NSHumanReadableCopyright</key>

layout/DEBIAN/control

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Package: ch.xxtou.hudapp
22
Name: HUD App
3-
Version: 1.10.2
3+
Version: 1.11.0
44
Section: Tweaks
55
Depends: firmware (>= 14.0), mobilesubstrate (>= 0.9.7000)
66
Architecture: iphoneos-arm

supports/Sandbox-Info.plist

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
<key>CFBundlePackageType</key>
2222
<string>APPL</string>
2323
<key>CFBundleShortVersionString</key>
24-
<string>1.10.2</string>
24+
<string>1.11.0</string>
2525
<key>CFBundleSignature</key>
2626
<string>????</string>
2727
<key>CFBundleURLTypes</key>
@@ -36,7 +36,7 @@
3636
</dict>
3737
</array>
3838
<key>CFBundleVersion</key>
39-
<string>1.10.2</string>
39+
<string>1.11.0</string>
4040
<key>LSApplicationCategoryType</key>
4141
<string>public.app-category.developer-tools</string>
4242
<key>NSHumanReadableCopyright</key>

0 commit comments

Comments
 (0)