Comments (7)
There would need to be a new entry to tweak nic to set the binary name as variable. This is a good idea however.
from theos.
I have a plan for this.
Plan: remove it entirely and insert it into the tweak template's makefile.
from theos.
bash-3.2$ ~/theos/bin/nic.pl -t iphone/tweak example
NIC 2.0 - New Instance Creator
------------------------------
Package Name [com.yourcompany.example]:
Author/Maintainer Name [Dustin Howett]:
[iphone/tweak] MobileSubstrate Bundle filter [com.apple.springboard]:
[iphone/tweak] List of applications to terminate upon installation (space-separated) [SpringBoard]: SpringBoard CommCenter searchd
Instantiating iphone/tweak in example/...
Done.
bash-3.2$ cat example/Makefile
include theos/makefiles/common.mk
TWEAK_NAME = example
example_FILES = Tweak.xm
include $(THEOS_MAKE_PATH)/tweak.mk
after-install::
install.exec "killall -9 SpringBoard; killall -9 CommCenter; killall -9 searchd"
from theos.
Couldn't you just use the preinst
or postinst
file for that?
from theos.
No, because when the user installed the package via Cydia, it would
immediately respring without finalizing the installations of any other
packages.
Do not do that.
from theos.
Of course if you kill the SpringBoard, but if you instead kill a "non-vital" process (eg. an AppStore App), then there is no problem.
from theos.
Finally resolved to some level of satisfaction by 5d2a700.
from theos.
Related Issues (20)
- [Bug]: Non-Apple clang doesn't have proper Module support and should be disabled HOT 14
- [Bug]: Importing a module with a Module-Swift.h fails to compile by default in C++
- [Bug]: Xcode Project's Make File is throwing 'xcodebuild: error: “InstallationBuildProductsLocation” couldn’t be moved' HOT 4
- Add C++ makefile flags support. HOT 22
- [Bug]: FILES += <Source Files> Not Compiling <Source Files> HOT 1
- [Bug]: HOT 4
- [Bug]: Command Line Tools built by Xcode do not stage properly HOT 1
- [Bug]: HOT 2
- [Bug]: fix is the new update HOT 2
- [Bug]: Stage contains empty directories when building for rootless HOT 21
- [Bug]: Swift - error: unable to load standard library for target HOT 18
- [Bug]: NeXTSTEP plist format doesn't work with FINALPACKAGE=1 HOT 5
- Test
- [Bug]: Theos isn't finding libz3 HOT 2
- [Bug]: Unable to locate package error on Garuda Linux HOT 4
- [Bug]: Orion Build fails HOT 1
- [FYI]: `-Wnomodule-import-in-extern-c` CCFLAGS is required for Xcode 15 HOT 5
- [Bug]: Can't complie Swift application on iOS HOT 3
- 报错443 HOT 3
- [Bug]: Can't include other makefile in `Makefile` HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from theos.