You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: AGENTS.md
+12-6Lines changed: 12 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -58,17 +58,17 @@ Flean is a Safari Web Extension (with native host helpers) that redirects Fandom
58
58
59
59
## Version numbers
60
60
61
-
Version numbers live in **two places** and must be kept in sync manually:
61
+
Version numbers live in **two places** and must be kept in sync manually. Current values (as of release 2.1.6 / build 3) are shown below — replace them with your next release numbers in **both** projects:
62
62
63
63
### 1. Extension manifest (`manifest.json`) — `version` field
64
-
Both `ios/extention/Resources/manifest.json` and `mos/Flean Extension/Resources/manifest.json` contain:
64
+
Both `ios/extention/Resources/manifest.json` and `mos/Flean Extension/Resources/manifest.json` contain the extension version, for example:
65
65
```json
66
66
"version": "2.1.6"
67
67
```
68
-
Update this field in **both** files when releasing a new extension version.
68
+
Update this value in **both** files for every release.
69
69
70
70
### 2. Xcode project files (`project.pbxproj`) — `MARKETING_VERSION` and `CURRENT_PROJECT_VERSION`
71
-
Both `ios/Flean.xcodeproj/project.pbxproj` and `mos/Flean.xcodeproj/project.pbxproj` contain multiple occurrences of:
71
+
Both `ios/Flean.xcodeproj/project.pbxproj` and `mos/Flean.xcodeproj/project.pbxproj` contain multiple occurrences like:
72
72
```
73
73
MARKETING_VERSION = 2.1.6;
74
74
CURRENT_PROJECT_VERSION = 3;
@@ -84,11 +84,17 @@ The icon displayed in the Safari toolbar comes from the `action.default_icon` fi
84
84
```json
85
85
"action": {
86
86
"default_popup": "popup.html",
87
-
"default_icon": "images/icon-512.png"
87
+
"default_icon": {
88
+
"48": "images/icon-48.png",
89
+
"96": "images/icon-96.png",
90
+
"128": "images/icon-128.png",
91
+
"256": "images/icon-256.png",
92
+
"512": "images/icon-512.png"
93
+
}
88
94
}
89
95
```
90
96
91
-
in both `ios/extention/Resources/manifest.json` and `mos/Flean Extension/Resources/manifest.json`. The `images/` directory inside each extension Resources folder contains the icon files (`icon-48.png`, `icon-512.png`, etc.).
97
+
in both `ios/extention/Resources/manifest.json` and `mos/Flean Extension/Resources/manifest.json`. The `images/` directory inside each extension Resources folder contains the icon files (`icon-48.png`, `icon-96.png`, `icon-128.png`, `icon-256.png`, `icon-512.png`, etc.).
0 commit comments