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
bogadana
57a1e7c27f
feat: --include
option ( #76 )
2022-07-03 15:49:25 +02:00
oSumAtrIX
20fa17957e
fix: wrong keystore output path
2022-06-28 00:44:12 +02:00
oSumAtrIX
20e15defc2
fix: wrong separator when using ZipFileSystemUtils
2022-06-28 00:12:22 +02:00
oSumAtrIX
9f91f63220
refactor: ZipFileSystemUtils
2022-06-28 00:12:22 +02:00
oSumAtrIX
88852a45ac
refactor: migrate from Signature
to Fingerprint
...
BREAKING CHANGE: Not backwards compatible, since a lot of classes where renamed.
2022-06-26 16:34:08 +02:00
oSumAtrIX
df85fa37ef
feat: improve logging
2022-06-23 02:10:11 +02:00
oSumAtrIX
04805e45fe
refactor: logging and exception strings
2022-06-22 19:36:23 +02:00
Itroublve
5b8537e6b7
fix: keystore file not found exception ( #57 )
...
* fix: keystore file not found exception
* the fix
* fix oopsies
2022-06-22 19:22:19 +02:00
Lucaskyy
1dcdbc9fe9
fix: show actual version in CLI
2022-06-22 16:51:29 +02:00
Lucaskyy
46056956fe
refactor: fix consistency in logging
2022-06-22 16:44:07 +02:00
Lucaskyy
87ffaa4bdb
fix: add callback for addFiles
2022-06-22 16:42:02 +02:00
Lucaskyy
8a49dcc110
Merge remote-tracking branch 'origin/main' into main
...
# Conflicts:
# build.gradle.kts
2022-06-22 16:25:53 +02:00
Lucaskyy
4a23cb69bc
feat: add logging back
2022-06-22 16:25:04 +02:00
oSumAtrIX
d335846202
fix: use absolute file path for key store
2022-06-22 15:57:15 +02:00
Lucaskyy
51e091ce40
fix: remove logger from Signer.kt
2022-06-22 15:01:48 +02:00
Lucaskyy
e5a37e0a5f
refactor: move signing logs
2022-06-22 15:00:24 +02:00
Lucaskyy
c94471f464
fix: add back in: option to specify keystore file path
2022-06-22 14:58:12 +02:00
Lucaskyy
2c8a106151
revert: "feat: use of java.util.logging.Logger
"
...
This reverts commit 07f6bdf330
.
This reverts commit 6c4c1924ee
.
2022-06-22 14:56:25 +02:00
oSumAtrIX
6c4c1924ee
feat: migrate logger to slf4j
2022-06-22 14:19:06 +02:00
oSumAtrIX
9331594706
feat: add option to specify keystore file path
2022-06-22 13:50:54 +02:00
oSumAtrIX
07f6bdf330
feat: use of java.util.logging.Logger
2022-06-22 13:50:54 +02:00
oSumAtrIX
a48c0860e3
refactor: simply if condition
2022-06-22 13:50:54 +02:00
oSumAtrIX
b30c7375a7
fix: migrate to changes of patcher
2022-06-22 12:06:53 +02:00
Sculas
f694542d64
fix: wrong variable inverted
2022-06-22 11:49:15 +02:00
bogadana
af32572f29
feat: show description when listing patches
2022-06-22 00:03:48 +02:00
Lucaskyy
29105bab3d
fix: CLI not working
2022-06-21 22:20:08 +02:00
Lucaskyy
31853fe539
fix: improper use of mount variable
2022-06-21 22:19:34 +02:00
Lucaskyy
ee6aff8fe7
chore: add comment
2022-06-21 19:47:03 +02:00
Lucaskyy
f3a3e935a2
refactor: prevent any future regressions in zipfs
2022-06-21 19:31:49 +02:00
Lucaskyy
c272d55e2d
chore: cleanup code
2022-06-21 19:30:24 +02:00
oSumAtrIX
3829136c49
fix: remove -e
from experimental
option
2022-06-21 19:04:32 +02:00
oSumAtrIX
00145f2bb6
chore: merge nested if blocks
2022-06-21 19:00:11 +02:00
oSumAtrIX
98bd6f3f4b
feat: rename debugging
option to experimental
2022-06-21 18:42:30 +02:00
oSumAtrIX
1a3db77c21
feat: use install
mode by default
2022-06-21 18:42:29 +02:00
oSumAtrIX
430de23856
refactor: replace try catch
block with null check
2022-06-21 18:42:29 +02:00
oSumAtrIX
3cc98efaa6
refactor: apply formatting
2022-06-21 01:02:50 +02:00
bogadana
b977d7039f
feat: allow listing patches without other parameters ( #42 )
...
* feat: allow listing patches without other parameters
* make `-b` required
2022-06-21 00:53:36 +02:00
oSumAtrIX
6ceb449cf8
fix: move the keystore to the output directory
2022-06-14 23:59:59 +02:00
Kinsteen
e1c7d1082a
feat: chcon on mount
...
Co-authored-by: PaulF <paul.francon@pi.esisar.grenoble-inp.fr>
Co-authored-by: oSumAtrIX <johan.melkonyan1@web.de>
2022-06-14 15:30:14 +02:00
oSumAtrIX
32589c88e4
fix: check if packageVersion
is compatible with any from compatiblePackages
2022-06-13 01:59:39 +02:00
oSumAtrIX
2975a47d0f
fix: ZipAligner
not correctly calculating the file offset
2022-06-12 00:52:14 +02:00
oSumAtrIX
0d7581ad75
fix: check for root even though when not needed
2022-06-11 22:03:55 +02:00
oSumAtrIX
d55ca86e5c
refactor: add more logging
2022-06-11 20:29:54 +02:00
oSumAtrIX
2bfbbc2eb9
fix: overwrite output file
2022-06-11 20:29:18 +02:00
oSumAtrIX
d1ceab45c8
feat: support for --install
2022-06-11 20:02:37 +02:00
oSumAtrIX
cf1d512f4b
refactor: write cache files with proper names
2022-06-11 20:02:03 +02:00
oSumAtrIX
22d2535af8
fix: sign the aligned file instead of the input file
2022-06-11 19:56:45 +02:00
oSumAtrIX
a0644c7045
fix: broken control flow of includeFilter
2022-06-11 19:44:33 +02:00
oSumAtrIX
9da4f707ac
fix: resource patcher
2022-06-11 06:40:59 +02:00
oSumAtrIX
1b645c67db
feat: debugging option
2022-06-05 07:56:53 +02:00
oSumAtrIX
54c0a03d44
feat: add path for cacheDirectory
and enable resource patching by default
2022-06-03 17:51:13 +02:00
oSumAtrIX
ace70e417f
fix: migrate to latest patcher api changes
2022-06-01 01:41:24 +02:00
oSumAtrIX
206f2029d7
fix: invalid code flow when adding patches
2022-05-27 12:25:44 +02:00
oSumAtrIX
cabd32fda4
fix: migrate from PatchLoader.load(...)
to JarPatchBundle(...).loadPatches()
...
Signed-off-by: oSumAtrIX <johan.melkonyan1@web.de>
2022-05-26 01:02:42 +02:00
danthe1st
c76da7e5ff
fix: only accept directories when looking for files in resource patch
2022-05-26 00:31:29 +02:00
oSumAtrIX
d946333c96
Merge remote-tracking branch 'origin/main'
2022-05-24 02:10:15 +02:00
oSumAtrIX
5cd3ea291c
refactor: remove unused Patches
class
...
Signed-off-by: oSumAtrIX <johan.melkonyan1@web.de>
2022-05-23 20:35:03 +02:00
oSumAtrIX
329f8a383f
fix: delete outputFile
after deploying
2022-05-22 22:38:27 +02:00
oSumAtrIX
f297f7d1ef
add: signature checker and compatibility filters
...
Signed-off-by: oSumAtrIX <johan.melkonyan1@web.de>
2022-05-22 17:10:43 +02:00
oSumAtrIX
51d250491f
fix: breaking changes by revanced-patcher
dependency
...
Signed-off-by: oSumAtrIX <johan.melkonyan1@web.de>
2022-05-22 13:47:45 +02:00
Wan Muhammad Azims
81d53b5518
fix: wrong use of variable substitution / typo
...
[revanced/revanced-cli#12 ](https://github.com/revanced/revanced-cli/issues/12 )
2022-05-16 03:45:20 +08:00
oSumAtrIX
351de6cb90
fix: wrong use of dependency to revanced-patches
...
Signed-off-by: oSumAtrIX <johan.melkonyan1@web.de>
2022-05-07 23:15:31 +02:00
oSumAtrIX
a108c92ade
Merge pull request #9 from danthe1st/main
...
fix: ClassLoader not working with Java 9+
2022-05-07 21:15:02 +02:00
oSumAtrIX
5b1139ce43
fix: leftover TODOs
...
Signed-off-by: oSumAtrIX <johan.melkonyan1@web.de>
2022-05-07 21:13:28 +02:00
danthe1st
3a11e1135b
fix: ClassLoader not working with Java 9+
2022-05-07 21:08:11 +02:00
oSumAtrIX
be53e649a7
fix: broken script CONTENT_UNMOUNT_SCRIPT
...
Signed-off-by: oSumAtrIX <johan.melkonyan1@web.de>
2022-05-07 18:13:14 +02:00
oSumAtrIX
3a2fa30676
fix: unmount script CONTENT_UMOUNT_SCRIPT
2022-05-07 05:41:34 +02:00
oSumAtrIX
59c423bea0
add: proper console output
...
Signed-off-by: oSumAtrIX <johan.melkonyan1@web.de>
2022-05-06 03:09:00 +02:00
oSumAtrIX
f9b987e858
fix: deploy to adb
...
Signed-off-by: oSumAtrIX <johan.melkonyan1@web.de>
2022-05-06 03:00:02 +02:00
oSumAtrIX
3776ab9a0b
Merge branch 'picocli' into adb-deploy
...
# Conflicts:
# src/main/kotlin/app/revanced/cli/MainCommand.kt
2022-05-06 01:23:08 +02:00
Canny1913
6ffba3ef0a
fix: gradle build script
...
Signed-off-by: oSumAtrIX <johan.melkonyan1@web.de>
2022-05-06 01:21:05 +02:00
oSumAtrIX
de2d29c464
add: deploy to adb
...
Signed-off-by: oSumAtrIX <johan.melkonyan1@web.de>
2022-05-05 01:43:35 +02:00
oSumAtrIX
03f2c5185e
add: wipe-after
option
...
Signed-off-by: oSumAtrIX <johan.melkonyan1@web.de>
2022-05-04 23:56:30 +02:00
oSumAtrIX
57af32208d
add: resource patcher
...
Signed-off-by: oSumAtrIX <johan.melkonyan1@web.de>
2022-05-04 23:48:11 +02:00
oSumAtrIX
f6d60a3460
refactor: migration to picocli
...
Signed-off-by: oSumAtrIX <johan.melkonyan1@web.de>
2022-05-01 02:07:25 +02:00
Lucaskyy
58213781e1
refactor: rename & change some things
2022-04-16 13:49:25 +02:00
Lucaskyy
fb068ef753
fix: unfinished todo message
2022-04-15 23:43:21 +02:00
Lucaskyy
37ecc5eaa6
feat: Added root-only adb runner (tested on emulator)
...
I spent almost an entire day on this, you better be happy!
2022-04-15 23:40:09 +02:00
oSumAtrIX
c9941fe182
fix: resolve signatures before applying patches
...
Signed-off-by: oSumAtrIX <johan.melkonyan1@web.de>
2022-04-14 22:59:56 +02:00
oSumAtrIX
f2d9da4dca
fix: uncomment merging integrations
...
Signed-off-by: oSumAtrIX <johan.melkonyan1@web.de>
2022-04-14 10:59:39 +02:00
oSumAtrIX
d14fd901c0
refact: remove obsolete SignatureParser
...
Signed-off-by: oSumAtrIX <johan.melkonyan1@web.de>
2022-04-14 10:59:04 +02:00
oSumAtrIX
555b38f386
fix: make cli compatible with breaking changes of the patcher
...
Signed-off-by: oSumAtrIX <johan.melkonyan1@web.de>
2022-04-14 10:26:38 +02:00
Lucaskyy
9fc2f9602a
fix: update cli for new patcher version
2022-04-12 19:12:35 +02:00
Lucaskyy
a37304e032
fix: this tiny thing has caused me the worst headache ever in my life
2022-04-12 16:29:21 +02:00
Lucaskyy
8d96ec83cb
feat: Add progress bar
2022-04-11 19:19:35 +02:00
Lucaskyy
bea8b829c7
fix: make integrations optional
2022-04-11 11:44:59 +02:00
oSumAtrIX
967fac48d0
add: missing integrations parameter
2022-04-11 04:08:20 +02:00
Lucaskyy
4624384f28
feat: load patches dynamically & use kotlinx.cli
...
Patches are now loaded dynamically and the CLI now links to the patches library. Also decided to use the CLI library from kotlinx, since that's friendlier than whatever we had before.
2022-04-10 22:21:57 +02:00
Lucaskyy
e50071aa61
refactor: migrate to Kotlin build scripts
2022-04-10 19:36:51 +02:00
oSumAtrIX
b1372c0e9f
chore: apply breaking changes from patcher
2022-04-10 01:34:50 +02:00
oSumAtrIX
919b34e174
feat: integrations merge
2022-04-09 04:53:31 +02:00
oSumAtrIX
6664f49a11
feat: Add CLI
2022-04-08 23:49:31 +02:00