Skip to content

Commit

Permalink
Fix project to build correctly.
Browse files Browse the repository at this point in the history
  • Loading branch information
collinprice committed Dec 18, 2015
1 parent d8c471b commit 4eccf01
Show file tree
Hide file tree
Showing 5 changed files with 19 additions and 19 deletions.
9 changes: 0 additions & 9 deletions android/assets/README

This file was deleted.

7 changes: 0 additions & 7 deletions android/build.xml
Original file line number Diff line number Diff line change
Expand Up @@ -36,19 +36,12 @@
<fileset dir="${basedir}/../example"/>
</copy>

<!-- Copy assets subdirectories -->
<mkdir dir="${basedir}/assets"/>
<copy todir="${basedir}/assets">
<fileset dir="${basedir}/../assets"/>
</copy>

<!-- Copy license -->
<copy todir="${basedir}" file="${basedir}/../LICENSE"/>

<target name="cleancopy" description="Delete old copies">
<delete dir="${basedir}/documentation"/>
<delete dir="${basedir}/example"/>
<delete dir="${basedir}/assets"/>
<delete file="${basedir}/LICENSE"/>
</target>

Expand Down
4 changes: 2 additions & 2 deletions android/manifest
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
#
version: 1.0.0
apiversion: 2
architectures: armv7 arm64 i386 x86_64
architectures: armeabi armeabi-v7a x86
description: com.collinprice.rooted
author: Collin Price
license: MIT
Expand All @@ -15,4 +15,4 @@ name: com.collinprice.rooted
moduleid: com.collinprice.rooted
guid: 8fc8c542-563d-43f5-a9f9-70d0aa7ef14e
platform: android
minsdk: 5.1.2.v20151214111649
minsdk: 5.0.2.GA
16 changes: 16 additions & 0 deletions documentation/index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# Appcelerator Titanium Rooted Module

This module provides a function to check if a device has been Jailbroken (iOS), or Rooted (Android). Check the Releases tab for downloads.

## Install

Please check the Appcelerator [documentation](http://docs.appcelerator.com/platform/latest/#!/guide/Using_a_Module) for instructions on how to install this module

## Usage

var Rooted = require('com.collinprice.rooted');
if (Rooted.isRooted()) {
Ti.API.info("DEVICE IS ROOTED!!!");
} else {
Ti.API.info("DEVICE IS NOT ROOTED.....");
}
2 changes: 1 addition & 1 deletion iphone/manifest
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,4 @@ name: com.collinprice.rooted
moduleid: com.collinprice.rooted
guid: 8fc8c542-563d-43f5-a9f9-70d0aa7ef14e
platform: iphone
minsdk: 5.1.2.v20151214111649
minsdk: 5.0.2.GA

0 comments on commit 4eccf01

Please sign in to comment.