Table of contents:
Powercuts is a library which allows tweak developers to easily create new actions for Shortcuts app. Those actions can then be run like any other action, from Shortcuts or Personal Automations. As a developer, you can either create actions for your existing tweaks or create new actions (pack), in minutes! Then, register this action to PowercutsManager
in SpringBoard. Done!
Get the latest Powercuts version from my repo https://repo.anthopak.dev or from Chariz.
You can integrate Powercuts into any existing/new project.
$THEOS/include/libpowercuts
(get them from the link below)libpowercuts.dylib
(get it from the link below) to $THEOS/lib
for rootful builds, or to $THEOS/lib/iphone/rootless
for rootless builds.TWEAKNAME_LIBRARIES = powercuts
#import <libpowercuts/libpowercuts.h>
anywhere you needcom.anthopak.powercuts
to the Depends
field in your control
file. If you don’t do it (i.e. you want Powercuts to be optional), make sure to make this integration in a new subproject.Files: