Skip to content

Commit

Permalink
Rewrite fakesigner script
Browse files Browse the repository at this point in the history
  • Loading branch information
UInt2048 committed Oct 21, 2024
1 parent 38de4ed commit 01e538a
Show file tree
Hide file tree
Showing 12 changed files with 287 additions and 166 deletions.
4 changes: 3 additions & 1 deletion Source/WTF/wtf/URLParser.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2965,7 +2965,9 @@ const UIDNA& URLParser::internationalDomainNameTranscoder()
static UIDNA* encoder;
static std::once_flag onceFlag;
std::call_once(onceFlag, [] {
CFURLRef dir = CFURLCreateCopyAppendingPathComponent(nullptr, CFBundleCopyBundleURL(CFBundleGetMainBundle()), CFSTR("Frameworks/WebKit.framework/XPCServices"), true);
CFBundleRef webKitBundle = CFBundleGetBundleWithIdentifier(CFSTR("com.matthewbenedict.WebKit"));
CFURLRef bundleURL = CFBundleCopyBundleURL(webKitBundle);
CFURLRef dir = CFURLCreateCopyDeletingLastPathComponent(NULL, bundleURL);
u_setDataDirectory(CFStringGetCStringPtr(CFURLGetString(dir), kCFStringEncodingUTF8));

UErrorCode error = U_ZERO_ERROR;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -404,7 +404,7 @@
);
runOnlyForDeploymentPostprocessing = 0;
shellPath = /bin/sh;
shellScript = "# Type a script or drag a script file from your workspace to insert its path.\n$SRCROOT/script_fakesigner.sh mobileminibrowser+$CYBERKIT_DEPLOYMENT_TARGET\n";
shellScript = "$SRCROOT/../Scripts/fakesign/script_fakesigner.sh mobileminibrowser+$CYBERKIT_DEPLOYMENT_TARGET $SRCROOT/../../WebKitBuild/Debug-iphoneos/MobileMiniBrowser.app $SRCROOT/../../WebKitBuild/Debug-iphoneos $SRCROOT\n";
};
/* End PBXShellScriptBuildPhase section */

Expand Down
164 changes: 0 additions & 164 deletions Tools/MobileMiniBrowser/script_fakesigner.sh

This file was deleted.

Loading

0 comments on commit 01e538a

Please sign in to comment.