Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
37 changes: 37 additions & 0 deletions bucket/revanced-cli.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
{
"version": "6.0.0",
"description": "Command-line application to use ReVanced Patcher to patch Android apps.",
"homepage": "https://github.com/ReVanced/revanced-cli",
"license": "GPL-3.0-only",
"suggest": {
"java": "openjdk"
},
"architecture": {
"64bit": {
"url": "https://github.com/ReVanced/revanced-cli/releases/download/v6.0.0/revanced-cli-6.0.0-all.jar",
"hash": "c25549bc17d59d2eb94fa5f86e60e9b77a02772ca88f7050f8f1276f923a9958"
}
},
Comment on lines +9 to +14

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue | 🟠 Major | ⚡ Quick win

Architecture mismatch: Java JARs are platform-independent.

The top-level manifest uses "64bit" architecture, but Java JAR files are architecture-independent and should use "any" (matching your autoupdate block at line 26). When autoupdate runs, it will regenerate the manifest with "any", creating inconsistency.

🔧 Proposed fix
     "architecture": {
-        "64bit": {
+        "any": {
             "url": "https://github.com/ReVanced/revanced-cli/releases/download/v6.0.0/revanced-cli-6.0.0-all.jar",
             "hash": "c25549bc17d59d2eb94fa5f86e60e9b77a02772ca88f7050f8f1276f923a9958"
         }
     },
🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@bucket/revanced-cli.json` around lines 9 - 14, The manifest's "architecture"
entry currently lists a "64bit" key for the Java JAR, but JARs are
platform-independent and should use the "any" architecture to match the
autoupdate block; update the "architecture" object to replace the "64bit" key
with "any" (and keep the same "url" and "hash" values) so the "architecture"
symbol aligns with the autoupdate behavior and avoids churn between runs.

"bin": [
[
"revanced-cli-6.0.0-all.jar",
"revanced-cli"
]
],
Comment thread
grum-sudo marked this conversation as resolved.
"checkver": {
"github": "https://github.com/ReVanced/revanced-cli"
},
"autoupdate": {
"architecture": {
"any": {
"url": "https://github.com/ReVanced/revanced-cli/releases/download/v$version/revanced-cli-$version-all.jar"
}
},
"bin": [
[
"revanced-cli-$version-all.jar",
"revanced-cli",
]
]
}
Comment thread
coderabbitai[bot] marked this conversation as resolved.
}