Skip to content

Commit 079fb8d

Browse files
committed
initial commit
Signed-off-by: 82Flex <[email protected]>
0 parents  commit 079fb8d

32 files changed

+2388
-0
lines changed

.bartycrouch.toml

Lines changed: 53 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,53 @@
1+
[update]
2+
tasks = ["interfaces", "code", "transform", "translate", "normalize"]
3+
4+
[update.interfaces]
5+
paths = ["TrollFools"]
6+
subpathsToIgnore = [".git", "carthage", "pods", "build", ".build", "docs", "packages", ".theos", ".cache"]
7+
defaultToBase = false
8+
ignoreEmptyStrings = false
9+
unstripped = false
10+
ignoreKeys = ["#bartycrouch-ignore!", "#bc-ignore!", "#i!"]
11+
12+
[update.code]
13+
codePaths = ["TrollFools"]
14+
subpathsToIgnore = [".git", "carthage", "pods", "build", ".build", "docs", "packages", ".theos", ".cache"]
15+
localizablePaths = ["TrollFools"]
16+
defaultToKeys = false
17+
additive = true
18+
customFunction = "LocalizedStringResource"
19+
unstripped = false
20+
plistArguments = true
21+
ignoreKeys = ["#bartycrouch-ignore!", "#bc-ignore!", "#i!"]
22+
overrideComments = false
23+
24+
[update.transform]
25+
codePaths = ["TrollFools"]
26+
subpathsToIgnore = [".git", "carthage", "pods", "build", ".build", "docs", "packages", ".theos", ".cache"]
27+
localizablePaths = ["TrollFools"]
28+
transformer = "foundation"
29+
supportedLanguageEnumPath = "."
30+
typeName = "BartyCrouch"
31+
translateMethodName = "translate"
32+
separateWithEmptyLine = true
33+
34+
[update.translate]
35+
paths = ["TrollFools"]
36+
subpathsToIgnore = [".git", "carthage", "pods", "build", ".build", "docs", "packages", ".theos", ".cache"]
37+
translator = "deepL"
38+
secret = "fec26251-6db0-4d44-b1e1-687930db9258:fx"
39+
sourceLocale = "en"
40+
41+
[update.normalize]
42+
paths = ["TrollFools"]
43+
subpathsToIgnore = [".git", "carthage", "pods", "build", ".build", "docs", "packages", ".theos", ".cache"]
44+
sourceLocale = "en"
45+
harmonizeWithSource = true
46+
sortByKeys = true
47+
separateWithEmptyLine = true
48+
49+
[lint]
50+
paths = ["TrollFools"]
51+
subpathsToIgnore = [".git", "carthage", "pods", "build", ".build", "docs", "packages", ".theos", ".cache"]
52+
duplicateKeys = true
53+
emptyValues = true

.gitattributes

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
TrollFools/libintl.8.dylib filter=lfs diff=lfs merge=lfs -text
2+
TrollFools/libiosexec.1.dylib filter=lfs diff=lfs merge=lfs -text
3+
TrollFools/libncursesw.6.dylib filter=lfs diff=lfs merge=lfs -text
4+
TrollFools/libzstd.1.dylib filter=lfs diff=lfs merge=lfs -text
5+
TrollFools/libLLVM.dylib filter=lfs diff=lfs merge=lfs -text
6+
TrollFools/libedit.0.dylib filter=lfs diff=lfs merge=lfs -text
7+
TrollFools/cp filter=lfs diff=lfs merge=lfs -text
8+
TrollFools/ct_bypass filter=lfs diff=lfs merge=lfs -text
9+
TrollFools/insert_dylib filter=lfs diff=lfs merge=lfs -text
10+
TrollFools/llvm-install-name-tool filter=lfs diff=lfs merge=lfs -text
11+
TrollFools/CydiaSubstrate.framework.zip filter=lfs diff=lfs merge=lfs -text
12+
TrollFools/cp-15 filter=lfs diff=lfs merge=lfs -text
13+
TrollFools/rm filter=lfs diff=lfs merge=lfs -text
14+
TrollFools/optool filter=lfs diff=lfs merge=lfs -text

.gitignore

Lines changed: 152 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,152 @@
1+
.theos
2+
packages
3+
TrollFools/libintl.8.dylib
4+
TrollFools/libiosexec.1.dylib
5+
TrollFools/libncursesw.6.dylib
6+
TrollFools/libzstd.1.dylib
7+
TrollFools/libLLVM.dylib
8+
TrollFools/libedit.0.dylib
9+
TrollFools/cp
10+
TrollFools/ct_bypass
11+
TrollFools/insert_dylib
12+
TrollFools/llvm-install-name-tool
13+
TrollFools/CydiaSubstrate.framework.zip
14+
TrollFools/cp-15
15+
TrollFools/rm
16+
TrollFools/optool
17+
18+
# Created by https://www.toptal.com/developers/gitignore/api/swift,macos,xcode
19+
# Edit at https://www.toptal.com/developers/gitignore?templates=swift,macos,xcode
20+
21+
### macOS ###
22+
# General
23+
.DS_Store
24+
.AppleDouble
25+
.LSOverride
26+
27+
# Icon must end with two \r
28+
Icon
29+
30+
31+
# Thumbnails
32+
._*
33+
34+
# Files that might appear in the root of a volume
35+
.DocumentRevisions-V100
36+
.fseventsd
37+
.Spotlight-V100
38+
.TemporaryItems
39+
.Trashes
40+
.VolumeIcon.icns
41+
.com.apple.timemachine.donotpresent
42+
43+
# Directories potentially created on remote AFP share
44+
.AppleDB
45+
.AppleDesktop
46+
Network Trash Folder
47+
Temporary Items
48+
.apdisk
49+
50+
### macOS Patch ###
51+
# iCloud generated files
52+
*.icloud
53+
54+
### Swift ###
55+
# Xcode
56+
#
57+
# gitignore contributors: remember to update Global/Xcode.gitignore, Objective-C.gitignore & Swift.gitignore
58+
59+
## User settings
60+
xcuserdata/
61+
62+
## compatibility with Xcode 8 and earlier (ignoring not required starting Xcode 9)
63+
*.xcscmblueprint
64+
*.xccheckout
65+
66+
## compatibility with Xcode 3 and earlier (ignoring not required starting Xcode 4)
67+
build/
68+
DerivedData/
69+
*.moved-aside
70+
*.pbxuser
71+
!default.pbxuser
72+
*.mode1v3
73+
!default.mode1v3
74+
*.mode2v3
75+
!default.mode2v3
76+
*.perspectivev3
77+
!default.perspectivev3
78+
79+
## Obj-C/Swift specific
80+
*.hmap
81+
82+
## App packaging
83+
*.ipa
84+
*.dSYM.zip
85+
*.dSYM
86+
87+
## Playgrounds
88+
timeline.xctimeline
89+
playground.xcworkspace
90+
91+
# Swift Package Manager
92+
# Add this line if you want to avoid checking in source code from Swift Package Manager dependencies.
93+
# Packages/
94+
# Package.pins
95+
# Package.resolved
96+
# *.xcodeproj
97+
# Xcode automatically generates this directory with a .xcworkspacedata file and xcuserdata
98+
# hence it is not needed unless you have added a package configuration file to your project
99+
# .swiftpm
100+
101+
.build/
102+
103+
# CocoaPods
104+
# We recommend against adding the Pods directory to your .gitignore. However
105+
# you should judge for yourself, the pros and cons are mentioned at:
106+
# https://guides.cocoapods.org/using/using-cocoapods.html#should-i-check-the-pods-directory-into-source-control
107+
# Pods/
108+
# Add this line if you want to avoid checking in source code from the Xcode workspace
109+
# *.xcworkspace
110+
111+
# Carthage
112+
# Add this line if you want to avoid checking in source code from Carthage dependencies.
113+
# Carthage/Checkouts
114+
115+
Carthage/Build/
116+
117+
# Accio dependency management
118+
Dependencies/
119+
.accio/
120+
121+
# fastlane
122+
# It is recommended to not store the screenshots in the git repo.
123+
# Instead, use fastlane to re-generate the screenshots whenever they are needed.
124+
# For more information about the recommended setup visit:
125+
# https://docs.fastlane.tools/best-practices/source-control/#source-control
126+
127+
fastlane/report.xml
128+
fastlane/Preview.html
129+
fastlane/screenshots/**/*.png
130+
fastlane/test_output
131+
132+
# Code Injection
133+
# After new code Injection tools there's a generated folder /iOSInjectionProject
134+
# https://github.com/johnno1962/injectionforxcode
135+
136+
iOSInjectionProject/
137+
138+
### Xcode ###
139+
140+
## Xcode 8 and earlier
141+
142+
### Xcode Patch ###
143+
*.xcodeproj/*
144+
!*.xcodeproj/project.pbxproj
145+
!*.xcodeproj/xcshareddata/
146+
!*.xcodeproj/project.xcworkspace/
147+
!*.xcworkspace/contents.xcworkspacedata
148+
/*.gcno
149+
**/xcshareddata/WorkspaceSettings.xcsettings
150+
151+
# End of https://www.toptal.com/developers/gitignore/api/swift,macos,xcode
152+
n

Makefile

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
ARCHS := arm64
2+
TARGET := iphone:clang:latest:14.0
3+
INSTALL_TARGET_PROCESSES := TrollFools
4+
5+
include $(THEOS)/makefiles/common.mk
6+
7+
XCODEPROJ_NAME += TrollFools
8+
9+
include $(THEOS_MAKE_PATH)/xcodeproj.mk
10+
11+
SUBPROJECTS += TrollFoolsTweak
12+
13+
include $(THEOS_MAKE_PATH)/aggregate.mk
14+
15+
before-package::
16+
$(ECHO_NOTHING)ldid -STrollFools.entitlements $(THEOS_STAGING_DIR)/Applications/TrollFools.app$(ECHO_END)
17+
18+
after-package::
19+
$(ECHO_NOTHING)mkdir -p packages $(THEOS_STAGING_DIR)/Payload$(ECHO_END)
20+
$(ECHO_NOTHING)cp -rp $(THEOS_STAGING_DIR)$(THEOS_PACKAGE_INSTALL_PREFIX)/Applications/TrollFools.app $(THEOS_STAGING_DIR)/Payload$(ECHO_END)
21+
$(ECHO_NOTHING)chmod 0644 $(THEOS_STAGING_DIR)/Payload/TrollFools.app/Info.plist$(ECHO_END)
22+
$(ECHO_NOTHING)cd $(THEOS_STAGING_DIR); 7z a -tzip -mm=LZMA TrollFools.tipa Payload; cd -;$(ECHO_END)
23+
$(ECHO_NOTHING)mv $(THEOS_STAGING_DIR)/TrollFools.tipa packages/TrollFools.tipa$(ECHO_END)

TrollFools.entitlements

Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3+
<plist version="1.0">
4+
<dict>
5+
<key>application-identifier</key>
6+
<string>GXZ23M5TP2.wiki.qaq.TrollFools</string>
7+
<key>com.apple.CommCenter.fine-grained</key>
8+
<array>
9+
<string>spi</string>
10+
<string>identity</string>
11+
</array>
12+
<key>com.apple.private.persona-mgmt</key>
13+
<true/>
14+
<key>com.apple.private.security.container-manager</key>
15+
<true/>
16+
<key>com.apple.private.security.container-required</key>
17+
<false/>
18+
<key>com.apple.private.security.disk-device-access</key>
19+
<true/>
20+
<key>com.apple.private.security.no-container</key>
21+
<true/>
22+
<key>com.apple.private.security.storage.AppBundles</key>
23+
<true/>
24+
<key>com.apple.private.security.storage.AppDataContainers</key>
25+
<true/>
26+
<key>com.apple.private.thread-set-state</key>
27+
<true/>
28+
<key>com.apple.security.exception.files.absolute-path.read-write</key>
29+
<array>
30+
<string>/</string>
31+
</array>
32+
<key>com.apple.system-task-ports</key>
33+
<true/>
34+
<key>com.apple.system-task-ports.control</key>
35+
<true/>
36+
<key>get-task-allow</key>
37+
<true/>
38+
<key>keychain-access-groups</key>
39+
<array>
40+
<string>wiki.qaq.TrollFools</string>
41+
<string>GXZ23M5TP2.wiki.qaq.TrollFools</string>
42+
</array>
43+
<key>platform-application</key>
44+
<true/>
45+
<key>task_for_pid-allow</key>
46+
<true/>
47+
</dict>
48+
</plist>

0 commit comments

Comments
 (0)