Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix rootless arm64 #23

Merged
merged 2 commits into from
Jun 21, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions Preferences/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ include $(THEOS)/makefiles/common.mk

BUNDLE_NAME = sonitusPreferences

ARCHS = arm64 arm64e
$(BUNDLE_NAME)_FILES = SPBRootListController.m SPBSonyListController.m PackageNameHeaderCell.m
$(BUNDLE_NAME)_FRAMEWORKS = UIKit BluetoothManager
$(BUNDLE_NAME)_EXTRA_FRAMEWORKS = Cephei CepheiPrefs
Expand Down
2 changes: 1 addition & 1 deletion control
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Package: com.semvis.sonitus
Name: Sonitus
Version: 1.0.6
Version: 1.0.7
Architecture: iphoneos-arm
Description: Sonitus, bring the noise cancellation control of your headphones to the built-in iOS menu.
Maintainer: Sem Visscher
Expand Down
19 changes: 7 additions & 12 deletions rootless.patch
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
diff --git a/Makefile b/Makefile
index 29931eb..b5e4adb 100644
index 29931eb..f1306d0 100644
--- a/Makefile
+++ b/Makefile
@@ -1,10 +1,12 @@
@@ -1,7 +1,9 @@
-TARGET := iphone:clang:13.3.1
+TARGET := iphone:clang:14.5
INSTALL_TARGET_PROCESSES = SpringBoard
Expand All @@ -12,17 +12,13 @@ index 29931eb..b5e4adb 100644
+
THEOS_DEVICE_IP = 192.168.2.15
include $(THEOS)/makefiles/common.mk
-ARCHS = arm64 arm64e
+ARCHS = arm64e
TWEAK_NAME = Sonitus
$(TWEAK_NAME)_FILES = Tweak.xm SessionController.mm Sony.mm Bose.mm Soundcore.mm Sennheiser.mm
SUBPROJECTS += Preferences
ARCHS = arm64 arm64e

diff --git a/Preferences/Makefile b/Preferences/Makefile
index 78eca64..0308b09 100644
index 3d00731..308eda4 100644
--- a/Preferences/Makefile
+++ b/Preferences/Makefile
@@ -1,9 +1,12 @@
@@ -1,9 +1,11 @@
-TARGET := iphone:clang:13.3.1
+TARGET := iphone:clang:14.5

Expand All @@ -32,13 +28,12 @@ index 78eca64..0308b09 100644

+THEOS_PACKAGE_SCHEME=rootless
+
+ARCHS = arm64e
ARCHS = arm64 arm64e
$(BUNDLE_NAME)_FILES = SPBRootListController.m SPBSonyListController.m PackageNameHeaderCell.m
$(BUNDLE_NAME)_FRAMEWORKS = UIKit BluetoothManager
$(BUNDLE_NAME)_EXTRA_FRAMEWORKS = Cephei CepheiPrefs

diff --git a/control b/control
index b60641b..72a059b 100644
index affe819..924e9df 100644
--- a/control
+++ b/control
@@ -6,5 +6,5 @@ Description: Sonitus, bring the noise cancellation control of your headphones to
Expand Down