From e5eefab80c7acb187dd4ff215afdf41cb5910ccc Mon Sep 17 00:00:00 2001 From: Markus Bilz Date: Tue, 9 Jan 2024 08:57:47 +0100 Subject: [PATCH] =?UTF-8?q?feat:=20add=20zip=20for=20autopsy=20to=20releas?= =?UTF-8?q?e=20=F0=9F=97=9C=EF=B8=8F=20(#40)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * feat: add zip for autopsy to release * feat: fix path to Forensicsim_Parser.py --- .github/workflows/release.yaml | 9 +++++++-- README.md | 2 +- build.bat | 5 ----- 3 files changed, 8 insertions(+), 8 deletions(-) delete mode 100644 build.bat diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 6bfc2c4..ac2edaa 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -17,12 +17,17 @@ jobs: run: | python -m pip install --upgrade pip python -m pip install -r requirements.txt pyinstaller - - name: Build binary + - name: Build binary 🚧 run: pyinstaller "main.spec" + - name: Zip files 🗜️ + run: | + cp Forensicsim_Parser.py dist/ + cd dist + tar.exe -a -cf forensicsim.zip Forensicsim_Parser.py ms_teams_parser.exe - name: Upload artifacts to GitHub Release env: GITHUB_TOKEN: ${{ github.token }} run: >- gh release upload - '${{ github.ref_name }}' dist/ms_teams_parser.exe + '${{ github.ref_name }}' dist/forensicsim.zip --repo '${{ github.repository }}' diff --git a/README.md b/README.md index 8c3ba9c..22c47b8 100644 --- a/README.md +++ b/README.md @@ -33,7 +33,7 @@ If you are curious about the artefacts that are generate by Microsoft Teams, I w This module requires the installation of Autopsy v4.18 or above and a *Windows*-based system. To install the *Microsoft Teams* parser for *Autopsy*, please follow these steps: -* Download the `.zip` folder and the `.exe` file of the latest available [release](https://github.com/lxndrblz/forensicsim/releases). +* Download the `forensicsim.zip` folder of the latest available [release](https://github.com/lxndrblz/forensicsim/releases). * Extract the `.zip` folder onto your computer. * Open the Windows File Explorer and navigate to your *Autopsy* Python plugin directory. By default, it is located under `%AppData%\autopsy\python_modules`. * Create a new `forensicsim` folder within the `python_modules` folder. diff --git a/build.bat b/build.bat deleted file mode 100644 index 7b22698..0000000 --- a/build.bat +++ /dev/null @@ -1,5 +0,0 @@ -:: Build the executable -pyinstaller "main.spec" -:: Copy the two files of interest into the Autopsy plugin directory - overwrite if necessary -xcopy /y "dist\ms_teams_parser.exe" "%appdata%\autopsy\python_modules\forensicsim" -xcopy /y "Forensicsim_Parser.py" "%appdata%\autopsy\python_modules\forensicsim"