-
Notifications
You must be signed in to change notification settings - Fork 5
Exit an iOS app from Titanium. Quick & dirty.
License
sttts/ti-exit
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
ti-exit module ============== Quit the Ti app on iOS and Android, especially suited for CI test runs from the command line. BUILDING YOUR MODULE -------------------- Simply run `titanium build --platform <name of platform> --build-type production --dir /path/to/module`. INSTALL TI-EXIT --------------- Mac OS X -------- Copy the distribution zip file into the `~/Library/Application Support/Titanium` folder Linux ----- Copy the distribution zip file into the `~/.titanium` folder Windows ------- Copy the distribution zip file into the `C:\ProgramData\Titanium` folder REGISTER TI-EXIT ---------------- Register your module with your application by editing `tiapp.xml` and adding your module. Example: <modules> <module version="1.0.0">com.sttts.exit</module> </modules> When you run your project, the compiler will combine your module along with its dependencies and assets into the application. USING TI-EXIT IN CODE ------------------------- To use your module in code, you will need to require it. For example, var ti_exit = require('com.sttts.exit'); ti_exit.exit(1);
About
Exit an iOS app from Titanium. Quick & dirty.
Resources
License
Stars
Watchers
Forks
Packages 0
No packages published