Update README.md
This commit is contained in:
parent
52633a0b3e
commit
625df27127
1 changed files with 6 additions and 3 deletions
|
@ -74,8 +74,13 @@ Here are the details of each parameter used in the patching system:
|
|||
-MOZ_APP_DISPLAYNAME=Firefox
|
||||
+MOZ_APP_DISPLAYNAME=Spitfire
|
||||
```
|
||||
|
||||
- **Multi-line example:**
|
||||
```patch
|
||||
t: standard
|
||||
i: /toolkit/moz.configure
|
||||
o: /toolkit/moz.configure
|
||||
|
||||
-project_flag(
|
||||
- env="MOZ_APP_UA_NAME",
|
||||
- default="",
|
||||
|
@ -88,7 +93,7 @@ Here are the details of each parameter used in the patching system:
|
|||
+ nargs=1,
|
||||
+ help="application name in the User Agent string",
|
||||
+)
|
||||
```
|
||||
```
|
||||
|
||||
Note: *Type will fallback to t:standard when no type is specified.*
|
||||
2. **`pref`:** Indicates that the patch is modifying preference settings (e.g., Firefox `prefs.js`).
|
||||
|
@ -151,8 +156,6 @@ Here are the details of each parameter used in the patching system:
|
|||
o:.
|
||||
|
||||
string_to_find => string_to_replace_with
|
||||
|
||||
|
||||
```
|
||||
|
||||
### Example Patch Files
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue