diff --git a/.github/dependabot.yaml b/.github/dependabot.yaml new file mode 100644 index 0000000..74217de --- /dev/null +++ b/.github/dependabot.yaml @@ -0,0 +1,23 @@ +# To get started with Dependabot version updates, you'll need to specify which +# package ecosystems to update and where the package manifests are located. +# Please see the documentation for all configuration options: +# https://docs.github.com/github/administering-a-repository/configuration-options-for-dependency-updates + +version: 2 +updates: + # Maintain dependencies for pip + - package-ecosystem: "pip" + directory: "/" # Location of package manifests + schedule: + interval: "daily" + assignees: + - "lxndrblz" + - "KarelZe" + # Maintain dependencies for GitHub Actions + - package-ecosystem: "github-actions" + directory: "/" + schedule: + interval: "daily" + assignees: + - "lxndrblz" + - "KarelZe" \ No newline at end of file diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml new file mode 100644 index 0000000..ab6c93c --- /dev/null +++ b/.github/workflows/release.yaml @@ -0,0 +1,28 @@ +on: + release: + types: [published] +permissions: + contents: write +jobs: + build: + name: Build exectuable 📦 + runs-on: windows-latest + steps: + - uses: actions/checkout@v4 + - name: Set up Python + uses: actions/setup-python@v5 + with: + python-version: "3.9" + - name: Install dependencies + run: | + python -m pip install --upgrade pip + python -m pip install -r requirements.txt pyinstaller + - name: Build binary + run: pyinstaller "main.spec" + - name: Upload artifacts to GitHub Release + env: + GITHUB_TOKEN: ${{ github.token }} + run: >- + gh release upload + '${{ github.ref_name }}' dist/*exe + --repo '${{ github.repository }}' \ No newline at end of file diff --git a/.gitignore b/.gitignore index 5e9695b..6b64ff1 100644 --- a/.gitignore +++ b/.gitignore @@ -125,4 +125,7 @@ dmypy.json .idea/ -.jython_cache/ \ No newline at end of file +.jython_cache/ + +venv/ +env/ \ No newline at end of file diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index cfdd040..0000000 --- a/.travis.yml +++ /dev/null @@ -1,23 +0,0 @@ -os: windows -language: shell -before_install: - - choco install python --version=3.9 - - python -m pip install --upgrade pip -env: PATH=/c/Python39:/c/Python39/Scripts:$PATH -install: - - pip install https://github.com/pyinstaller/pyinstaller/archive/develop.tar.gz - - pip install -r requirements.txt -script: - - bash -c echo "Tests would go here" -before_deploy: - - pyinstaller "main.spec" -deploy: - provider: releases - api_key: $RELEASE_TOKEN - file_glob: true - file: dist/*.exe - skip_cleanup: true - draft: false - on: - tags: true - name: $TRAVIS_TAG \ No newline at end of file diff --git a/README.md b/README.md index 5bca4bf..aeb343b 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ # Forensics.im Microsoft Teams Parser & Autopsy Plugin 🕵️‍♂️ ![GitHub License](https://img.shields.io/github/license/lxndrblz/forensicsim) -![Build Status](https://www.travis-ci.com/lxndrblz/forensicsim.svg?token=ts66FZeijedzeqpkgTit&branch=main) +![Build Status](https://img.shields.io/github/actions/workflow/status/lxndrblz/forensicsim/release.yaml) Forensics.im is an Autopsy Plugin, which allows parsing *levelDB* of modern Electron-based Instant Messenger Applications like Microsoft Teams. Unlike the diff --git a/main.spec b/main.spec index 023eb0a..2e97c9d 100644 --- a/main.spec +++ b/main.spec @@ -5,7 +5,7 @@ block_cipher = None a = Analysis(['utils\\main.py'], binaries=[], - datas=[('C:/Python39/Lib/site-packages/pyfiglet', 'pyfiglet')], + datas=[('c:/hostedtoolcache/windows/python/3.9.13/x64/lib/site-packages/pyfiglet', 'pyfiglet')], hiddenimports=[], hookspath=[], runtime_hooks=[],