-
Posts
1,300 -
Joined
-
Last visited
Posts posted by KingRalph
-
-
No, that apparently didn't work.
Put this code in the preinst script:
#!/bin/sh cd /usr/bin if [ -f "*lipoARM64*" ] then rm -f -- *lipoARM64* fi exit 0
It will remove all files in the /usr/bin directory that contain the string lipoARM64 in their name
Also, the variable 'dir' in the postinst script is useless. It is not used in lipoARM64 or the postinst
-
-
Lemme see
-
Can I run kali linux with this method?You are the Boss here
-
Get a copy from the cydia substrate framework header folder
-
All has been tested and function properly, won't matter if you add those.
If you don't call %orig, you overide the apps original code with your own. In most cases the game will still work, but it's not advisable to do so.He's right
-
Cool
Edit:
Aren't you supposed to add %orig; to this function?%hook AppDelegate - (void)applicationDidBecomeActive:(id)application { NSUserDefaults *validate = [NSUserDefaults standardUserDefaults]; NSString *alreadyRun = @"already_run"; if ([validate boolForKey:alreadyRun]) return; [validate setBool:YES forKey:alreadyRun]; UIAlertView *alert = [[UIAlertView alloc] initWithTitle:@"Test Title" message:@"Test Message" delegate:nil cancelButtonTitle:@"Close Test Pop-Up" otherButtonTitles:nil]; [alert show]; [alert release]; } %end
Also, I think you place the %new outside of the function
%hook AppDelegate -(BOOL)application:(id)fp8 didFinishLaunchingWithOptions:(id)fp12 { UIAlertView *alert = [[UIAlertView alloc] initWithTitle:@"Test Title" message:@"Test Message" delegate:self cancelButtonTitle:@"Close Test Pop-Up" otherButtonTitles:@"Test Link", nil]; [alert show]; [alert release]; return %orig(); %new } -(void)alertView:(UIAlertView *)alertView clickedButtonAtIndex:(NSInteger)buttonIndex { if(buttonIndex !=alertView.cancelButtonIndex) { [[UIApplication sharedApplication] openURL:[NSURL URLWithString:@"http://www.test.com"]]; } } %end
-
1
-
-
Here is a simple way to get the PID of a running process:
pidof appname
-
Eww Mac
ikr disgrace
-
Google chrome
-
If you change the armv7 flag to armv6, what would happen?
-
Lemme see
-
I think you have to add an 960x300 image for @3x resolutionCan you try the Header patcher template in the first post? Just replace your image with that to see what happens.
-
Something about how many third party products had code like:
if(version.StartsWith("Windows 9"))
{ /* 95 and 98 */
} else {
It's somewhere online. But idk. Just what I've read before
That shouldn't be how it works...That's interesting
Couldn't these third party apps just change their code instead of Microsoft skipping a number?
It should be something like this IMO:
if(version.ContainsString("Windows 9")) { //Version compatible code here } else { //Error message here }
It makes no sense to search for a prefix and not the entire string -
This made me laugh so hardWhat am I supposed to see there? Are they giving it out for free?
-
I got errors when packaging my deb with your method.I just do it this way all the time
After reading compiler errors, I figured out an alternate method.
Alternate solution:
Create a directory in your tweak's root directory and name it com.yourname.yourcompanyname
Inside that directory, create a directory called DEBIAN. Enter your newly created DEBIAN directory and add your postinst, preinst, prerm, and postrm scripts inside there. Also, you have to take your control file from your tweak's root directory and copy it into ./com.yourname.yourcompanyname/DEBIAN
To compile do this:
Open MobileTerminal and type the following lines of code
su alpine //or your root password cd /var/mobile/tweakdirectory dpkg-deb -Z gzip -b com.yourname.yourcompanyname
Your deb will stil be unarchiveable without using lzma and you don't have to make any modifications to your project beforehand.Hope this helps fix any errors you may encounter
-
-
Lemme see
-
Too Easy >: DBut they would have to win.
-
It doesn't matter what apple does. People will still buy it
-
C++ is not also known as C#
-
http://pixieengine.com/creation/images/new- Create pixel art, for free!
-
Sounds easyWhy don't we all just learn some advanced coding and hacking and we invent our own jailbreak
-
Nooooooo
The person below can do the whip
ld64 error when compiling with shc
in Help & Support
Posted
I've been experimenting with shc and trying to figure out how to compile a shell script.
Everytime I try and compile my shell script, I get this error:
http://imgur.com/6npngP7.jpg
Does anyone have any solutions?
Thanks in advance![:)](//iosgods.com/applications/core/interface/js/spacer.png)