Commit Graph

142 Commits

Author SHA1 Message Date
oSumAtrIX 31e4a41dd2 fix: do not list compatible packages if patches do not define them 2023-01-01 18:11:10 +01:00
oSumAtrIX b69e784785
feat: improve description of options (#185) 2022-12-31 19:17:57 +01:00
oSumAtrIX 545597959a
refactor: remove unused class `ZipFileUtils` 2022-12-16 01:23:37 +01:00
oSumAtrIX ad81a1b656
fix: don't log when package is incompatible and `exclusive` option is used 2022-12-15 23:41:42 +01:00
oSumAtrIX 74d73ca3a7
feat: simplify log message 2022-12-15 22:03:47 +01:00
oSumAtrIX ae91b0d597
fix: start with uppercase in log message 2022-12-15 22:03:29 +01:00
oSumAtrIX 1a67cd81da
fix: use correct prefix in log message 2022-12-15 22:00:08 +01:00
oSumAtrIX 2c7eb7274c
feat: improve missing compatibility annotation tracing log 2022-12-15 00:32:47 +01:00
oSumAtrIX 6e703eb8e8
fix: invalid header when writing a `ZipFile` (#169) 2022-12-14 01:14:00 +01:00
oSumAtrIX c590bf559c
feat: trace logs when compatibility annotation is missing (#166) 2022-12-11 20:08:52 +01:00
oSumAtrIX c9ae379c77
feat!: apply changes from ReVanced Patcher 2022-11-23 00:20:48 +01:00
oSumAtrIX 39e377bc48
feat: do not warn on incompatible packages 2022-11-20 00:34:00 +01:00
decipher 6a35cf7ea4
feat: use `am` instead of `monkey` to launch the app (#159) 2022-10-31 14:15:34 +01:00
oSumAtrIX 6e21d81964
fix: escape quotation mark in string 2022-10-05 20:26:15 +02:00
decipher 3a733e5137
feat: handle unmounting deleted files (#148) 2022-10-05 14:47:23 +02:00
decipher 4f4e1f9834
feat: unmount all occurrences in `/proc/mounts` (#131) 2022-10-05 14:20:41 +02:00
oSumAtrIX e035d93d2c
chore: migrate to new changes from the patcher 2022-10-05 04:12:46 +02:00
oSumAtrIX 839854d890
refactor: remove unused variable 2022-10-04 08:30:53 +02:00
oSumAtrIX b6dff6d832
feat: check, if input file exists 2022-10-01 05:19:42 +02:00
oSumAtrIX 467d8387e6
feat: remove unused option `-r` 2022-09-26 09:00:14 +02:00
Sculas cb0fde4908
refactor: clarify config header 2022-09-12 12:24:36 +02:00
Sculas 075bf406fd
refactor: improve OptionsLoader a lot 2022-09-09 22:50:15 +02:00
Sculas 3f5345af6e
feat: Patch Options CLI implementation (#132)
* feat: Patch Options CLI implementation

* fix: remove leftover log message
2022-09-08 22:35:09 +02:00
Sculas f4b04698d8
fix: don't print same patch multiple times 2022-09-08 22:19:53 +02:00
Sculas e3e74ac0e9
fix: broken deprecation message 2022-09-08 13:49:03 +02:00
Sculas 06d2139ebf
refactor: handle deprecation & cleanup 2022-09-08 12:52:00 +02:00
Nguyen Hoang The Vi 372470c77b
fix: mount bind revanced.apk from magisk's mirror
Some banking apps detect the mountpoint of youtube base apk to determine device is rooted. So mount bind from magisk's mirror to trigger magisk unmount and let it hidden along with magisk hiding.
2022-09-01 02:40:20 +02:00
oSumAtrIX 208c5bc5b0
build: bump patcher dependency version 2022-08-07 21:55:15 +02:00
Ankit Majumder 82efd9941f
refactor: spelling mistake (#114) 2022-08-06 09:54:37 +02:00
Sculas c3d8fecad0
revert: feat: remove extra zipalign step
This reverts commit c8e793efab.
2022-08-04 18:40:17 +02:00
bogadana c8e793efab
feat: remove extra zipalign step (#106)
* feat: remove extra zipalign step

* remove zipfs

* remove use

* reduce compression

* put back misc.xml

* revert stupid autofix
2022-08-03 21:36:38 +02:00
oSumAtrIX bc17298a80
feat: `frameworkFolderLocation` patcher option 2022-07-31 05:56:18 +02:00
oSumAtrIX 168c003a31
refactor: create methods in `MainCommand` class 2022-07-21 23:50:26 +02:00
Canny 96ec6a0384
fix: align every file 2022-07-21 23:49:25 +02:00
Robert d8dbffd7a7
feat: `--custom-aapt2-binary` option (#104) 2022-07-21 14:11:26 +02:00
n0k0m3 5f2bccc4e5
refactor: fix typo (#101) 2022-07-19 17:30:31 +02:00
oSumAtrIX 40c8500e38
refactor: create a variable for duplicate code 2022-07-19 00:50:26 +02:00
oSumAtrIX 9add2f9e82
refactor: fix spelling mistake & add private attribute to field 2022-07-19 00:48:01 +02:00
bogadana a942a57364
feat: more efficient zipalign 2022-07-19 00:19:47 +02:00
EdgE790 d9c5a179c5
fix: Log not showing in CLI (#80)
* Fix #79. Changed from default StreamHandler to FlushingStreamHandler which flushes after every log statement

* Added removal of handlers, so they will not be duplicated.

* Replaced removal of handlers with addition only in case if there are no handlers already.
Changed errorLogger name from hardcoded to reusing previous logger name, so it will have the same name if only first parameter is used.

* Replaced calls ::javaClass.name to ::class.java.name to have proper class names in loggers
2022-07-11 14:25:17 +02:00
oSumAtrIX 2015c2a1dc fix: `defaultExclude` unused 2022-07-11 01:16:44 +02:00
TheJeterLP a26b0ea64d
fix: Make clear what the --exclusive command actually does 2022-07-10 20:04:47 +02:00
oSumAtrIX eb83cabfff
fix: remove `excludePatches` check 2022-07-10 13:58:21 +02:00
bogadana 125fa06ca6
fix: null exception when resource patching is disabled (#85) 2022-07-10 12:19:09 +02:00
Itroublve 131100ef00
feat: `--uninstall` switch (#84)
This moves the move unmount script to a command
2022-07-10 12:17:47 +02:00
bogadana 8e91c12c5e
feat: `--exclusive` switch (#78) 2022-07-10 12:15:28 +02:00
bogadana ac7c7a9a1a
feat: better output for excluded patches (#77) 2022-07-10 12:13:26 +02:00
EdgE790 0ddc2b54b7
feat: separate logger to stdout & stderr (#63) 2022-07-03 16:18:13 +02:00
EdgE790 52b316150d
feat: separate options for `--list` (#60) 2022-07-03 15:57:25 +02:00
Aunali321 31a05b6768
refactor: comment for `unmount` step (#74) 2022-07-03 15:50:12 +02:00