-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy pathRun.tool
More file actions
executable file
·14 lines (8 loc) · 869 Bytes
/
Run.tool
File metadata and controls
executable file
·14 lines (8 loc) · 869 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
VERSION=7
set -e
cd "$(dirname "$0")"
clang++ -fmodules -fcxx-modules -std=c++17 -Wno-unused-getter-return-value -mmacosx-version-min=12 -I .. -I ../dyld/common -DDSCE_VERSION="$VERSION" Main.mm -o dsce
rm -rf Out
./dsce /System/Cryptexes/OS/System/Library/dyld/dyld_shared_cache_x86_64h /System/Library/Frameworks/AppKit.framework /System/Library/Frameworks/QuartzCore.framework /System/Library/Frameworks/CoreGraphics.framework /System/Library/Frameworks/Carbon.framework /System/Library/PrivateFrameworks/RenderBox.framework /System/Library/PrivateFrameworks/VectorKit.framework /System/Library/Frameworks/Metal.framework /System/Library/Frameworks/MetalPerformanceShaders.framework /System/Library/PrivateFrameworks/MTLCompiler.framework /System/Library/PrivateFrameworks/GPUCompiler.framework
find -d Out -type f -exec codesign -f -s - {} \;
chmod -R 755 Out