Update README.md

This commit is contained in:
Internet Addict 2025-05-11 07:06:33 +00:00
parent 52633a0b3e
commit 625df27127

View file

@ -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