File: set-path-to-debian-dependencies.patch

package info (click to toggle)
droidlysis 3.4.1-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 428 kB
  • sloc: python: 2,014; makefile: 3
file content (21 lines) | stat: -rw-r--r-- 1,104 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
Description: set paths to external utils so they fit Debian patterns
Author: Hans-Christoph Steiner <hans@eds.org>
Forwarded: not-needed

--- a/droidconfig.py
+++ b/droidconfig.py
@@ -3,10 +3,10 @@
 
 # ------------------------- DroidLysis Configuration file -----------------
 
-APKTOOL_JAR = os.path.join(os.path.expanduser("~/softs"), "apktool_2.7.0.jar")
-BAKSMALI_JAR = os.path.join(os.path.expanduser("~/softs"), "baksmali-2.5.2.jar")
-DEX2JAR_CMD = os.path.join(os.path.expanduser("~/softs/dex-tools-2.2-SNAPSHOT"), "d2j-dex2jar.sh")
-PROCYON_JAR = os.path.join(os.path.expanduser("~/softs"), "procyon-decompiler-0.5.30.jar")
+APKTOOL_JAR = '/usr/share/apktool/apktool-lib.jar'
+BAKSMALI_JAR = '/usr/share/java/baksmali.jar'
+DEX2JAR_CMD = os.path.join(os.path.expanduser('~/.local/share/droidlysis/dex-tools-2.1-SNAPSHOT'), "d2j-dex2jar.sh")
+PROCYON_JAR = '/usr/share/java/procyon-decompiler.jar'
 INSTALL_DIR = os.path.dirname(__file__)
 SQLALCHEMY = 'sqlite:///droidlysis.db'  # https://docs.sqlalchemy.org/en/latest/core/engines.html#database-urls
 KEYTOOL = os.path.join("/usr/bin/keytool")