Jump to content

9 posts in this topic

Recommended Posts

Posted

looking to be able to replace image files/plist files within an app bundle with a tweak. anyone have a detailed tutorial? :p

 

thank you

Posted

Is the bundle in a specific location?

 

You can make a deb which will extract files to x location(s).

Posted (edited)

looking to be able to replace image files/plist files within an app bundle with a tweak. anyone have a detailed tutorial? :p

 

thank you

You have to make a shell script to replace the image assets in the app bundle.

This should get you started on how to do that:

Solution:

 

get everything in project directory and open terminal and type "make" (with no quotes)

Create a directory in your tweak's root directory and name it com.yourname.yourcompanyname

Then move the contents of the "-" folder to the com.yourname.yourcompanyname folder

Inside that directory, enter a directory called DEBIAN 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 be unarchiveable

 

Hope this helps ^_^

Updated by KingRalph
Posted

You have to make a shell script to replace the image assets in the app bundle.

This should get you started on how to do that:

Solution:

get everything in project directory and open terminal and type "make" (with no quotes)

Create a directory in your tweak's root directory and name it com.yourname.yourcompanyname

Then move the contents of the "-" folder to the com.yourname.yourcompanyname folder

Inside that directory, enter a directory called DEBIAN 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 be unarchiveable

Hope this helps ^_^

If the deb is unarchivable, how will it install? :teehee:
Posted

That's not what i mean by "unarchiveable" :3

:teehee:(y):)

Posted (edited)

:teehee:(y):)

I'm going to infer that you're trying to say this:

 

KingRalph, you are so smart. You figured it out. I can't trick you.

 

:troll:

Updated by KingRalph
Posted

I'm going to infer that you're trying to say this:

 

KingRalph, you are so smart. You figured it out. I can't trick you.

 

:troll:

:lol:

 

Let's not go off topic xD

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
  • Create New...

Important Information

We would like to place cookies on your device to help make this website better. The website cannot give you the best user experience without cookies. You can accept or decline our cookies. You may also adjust your cookie settings. Privacy Policy - Guidelines