Commit Graph

219 Commits

Author SHA1 Message Date
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