Jump to content

How to add a postinst & postrm file to a project?


Rook

28 posts in this topic

Recommended Posts

Posted

Thanks! So I'm going to have to manually package the .deb because theos doesn't seem to work with it?

:dunno: I just do it this way all the time

  • Replies 27
  • Created
  • Last Reply
Posted

:dunno: I just do it this way all the time

I've tried adding the postinst in /_/DEBIAN/ but when compiling with theos, it gets removed.

Posted

Only put it in debian em yo package the deb manually. Otherwise just in your projects folder

Putting it in the root of the project folder doesn't work also. Looks like packaging the deb manually is required for this to work. :)

Posted

Nope.

 

Rename postinst to postinst.c and add to your Makefile

TOOL_NAME = postinst

postinst_FILES = postinst.c 
postinst_CFLAGS += -fvisibility=hidden -DBUILD_POSTINST -DBUILD_RUNONCE
postinst_FRAMEWORKS = CoreFoundation
postinst_INSTALL_PATH = /DEBIAN
Posted

Nope.

 

Rename postinst to postinst.c and add to your Makefile

TOOL_NAME = postinst

postinst_FILES = postinst.c 
postinst_CFLAGS += -fvisibility=hidden -DBUILD_POSTINST -DBUILD_RUNONCE
postinst_FRAMEWORKS = CoreFoundation
postinst_INSTALL_PATH = /DEBIAN

Did you try that? Did it work for you?

Posted

Did you try that? Did it work for you? :3

i have my own way!!! Make te postinst file and put it in DEBIAN folder then try to make it into deb... Done

And check my Cheat on Xarold's repo! TinyTrooper 2 Cheats!! Install it and u will see what it will say!!!

Posted

i have my own way!!! Make te postinst file and put it in DEBIAN folder then try to make it into deb... Done

And check my Cheat on Xarold's repo! TinyTrooper 2 Cheats!! Install it and u will see what it will say!!!

Make it into a deb using the dpkg command or make package?

Posted

Make it into a deb using the dpkg command or make package?

dpkg pfc :3 u need to make it into deb normally not by make package

Ofc*

Archived

This topic is now archived and is closed to further replies.

×
  • 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