Skip to content

Commit

Permalink
Filestructure and renamings main file (#23)
Browse files Browse the repository at this point in the history
* Reforming project structure

* Fix travis issue with filestructure

* Clean up structure

* update gitignore

* update formatting readme roadmap

* Implemented the exclusion list feature

* Fix debug parameter

* Use Logger constants when using the Logger

* Move helper files to a new folder

* Use Logger constants when using the Logger (#15)

* Remove duplicate 'ERROR' keyword (#16)

Using the loger module, you already provide a '[Logger]' keyword

* Add some colors to temrinal prints (#18)

* Change 'main.py' to project name (#20)

* Namechange update in travis.yml file

* update travis
  • Loading branch information
vincentcox authored Feb 11, 2018
1 parent 0221b37 commit 5d2803c
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
6 changes: 3 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,10 @@ install:
# command to run tests
script:
- sudo chmod +x jadx/bin/jadx
- if [[ "$TRAVIS_OS_NAME" != "windows" ]]; then python3 main.py test-apk.apk; fi # or py.test for Python versions 3.5 and below
- if [[ "$TRAVIS_OS_NAME" != "windows" ]]; then python3 stacoan.py test-apk.apk; fi # or py.test for Python versions 3.5 and below
# Building the executable for the deployment
- if [[ "$TRAVIS_OS_NAME" != "windows" ]]; then pip3 install pyinstaller; fi
- if [[ "$TRAVIS_OS_NAME" != "windows" ]]; then python3 -m PyInstaller main.py --onefile --add-data jadx:jadx -p jadx --icon icon.ico --name stacoan --clean --noupx; fi
- if [[ "$TRAVIS_OS_NAME" != "windows" ]]; then python3 -m PyInstaller stacoan.py --onefile --icon icon.ico --name stacoan --clean --noupx; fi

# Making directories and add files
- mkdir deploy
Expand All @@ -50,7 +50,7 @@ script:
- if [[ "$TRAVIS_OS_NAME" == "windows" ]]; then wine64 c:\\Python-64\\python.exe c:\\Python-64\\scripts\\pip.exe install pyinstaller --upgrade; fi
- if [[ "$TRAVIS_OS_NAME" == "windows" ]]; then wine64 c:\\Python-64\\python.exe c:\\Python-64\\scripts\\pip.exe install setuptools --upgrade; fi
- if [[ "$TRAVIS_OS_NAME" == "windows" ]]; then wine64 c:\\Python-64\\python.exe c:\\Python-64\\scripts\\pip.exe install -r requirements.txt; fi
- if [[ "$TRAVIS_OS_NAME" == "windows" ]]; then wine64 c:\\Python-64\\scripts\\pyinstaller.exe main.py --onefile --icon icon.ico --name stacoan --clean --noupx; fi
- if [[ "$TRAVIS_OS_NAME" == "windows" ]]; then wine64 c:\\Python-64\\scripts\\pyinstaller.exe stacoan.py --onefile --icon icon.ico --name stacoan --clean --noupx; fi
# Create zip
- cp dist/* ./deploy/
- name_zip=$TRAVIS_OS_NAME+".zip"
Expand Down
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -66,9 +66,7 @@ Drag and drop this file onto the executable. The report will now be generated in
### From source
`git clone https://github.com/vincentcox/StaCoAn/`

`cd StaCoAn`

`cd src`
`cd StaCoAn/src`

Make sure that you have pip3 installed:

Expand All @@ -78,7 +76,9 @@ Install the required python packages:

`pip3 install -r requirements.txt `

`python3 main.py yourApp.apk`
Run StaCoAn:

`python3 stacoan.py yourApp.apk`

### Building the executable

Expand Down
File renamed without changes.

0 comments on commit 5d2803c

Please sign in to comment.