Closed Mitezuss closed 12 months ago
thanks for your advice. $MODPATH is just a temporary directory. In fact, you can use dirname "$0" to get /data/adb/modules/zygisk_tweaker/ to read JSON, but I thought of merging JSON configuration later, and it is more convenient to configure it on sdcard.
I thought of merging JSON configuration later, and it is more convenient to configure it on sdcard.
I think: if anyone know how configure (need know package, device, etc.), then know how to edit the file on /data/adb/modules/zygisk_tweaker/
Anyway, it is only preference (where put the config file) However, maybe will be great make a binary (a simple script) to easy configure from terminal (asking pkg, device, etc) (and write directly to the $MODPATH/config.json)
Regards
I thought of merging JSON configuration later, and it is more convenient to configure it on sdcard.
I think: if anyone know how configure (need know package, device, etc.), then know how to edit the file on /data/adb/modules/zygisk_tweaker/
Anyway, it is only preference (where put the config file) However, maybe will be great make a binary (a simple script) to easy configure from terminal (asking pkg, device, etc) (and write directly to the $MODPATH/config.json)
Regards
really.
There are some defects in sdcard, such as being deleted by the cleaning module and reporting errors due to permission issues. But the configuration editing is much simpler. My module configuration is basically in /sdcard/Android/HChai/xxxx.
I will consider modpath later. For example, if the sdcard configuration is lost, the configuration under the module path will be used. If two configurations exist at the same time, they will be merged. If there are duplicate contents, sdcard will be given priority.
hi, thank for the module.
just wanna a simple modification: Can read the config file (.json) from $MODPATH, without create a extra folder on sdcard or whatever
for example:
$MODPATH/config.json
Regards