mirror of
https://github.com/revanced/aapt2.git
synced 2024-06-06 05:16:32 +02:00
feat: add branding patch
This commit is contained in:
parent
70c0e62520
commit
38284ce5a9
4
.github/workflows/build.yml
vendored
4
.github/workflows/build.yml
vendored
|
@ -2,8 +2,8 @@ name: Build aapt2 binary
|
|||
|
||||
on:
|
||||
push:
|
||||
paths:
|
||||
- '.github/**'
|
||||
branches:
|
||||
- main
|
||||
workflow_dispatch:
|
||||
inputs:
|
||||
logLevel:
|
||||
|
|
11
patches/aapt2-Add-branding.patch
Normal file
11
patches/aapt2-Add-branding.patch
Normal file
|
@ -0,0 +1,11 @@
|
|||
--- a/src/aapt2/Main.cpp
|
||||
+++ b/src/aapt2/Main.cpp
|
||||
@@ -54,7 +54,7 @@ class VersionCommand : public Command {
|
||||
}
|
||||
|
||||
int Action(const std::vector<std::string>& /* args */) override {
|
||||
- std::cerr << StringPrintf("%s %s", util::GetToolName(), util::GetToolFingerprint().c_str())
|
||||
+ std::cerr << StringPrintf("%s %s (by ReVanced, github.com/revanced/aapt2)", util::GetToolName(), util::GetToolFingerprint().c_str())
|
||||
<< std::endl;
|
||||
return 0;
|
||||
}
|
Loading…
Reference in New Issue
Block a user