@@ -91,6 +91,47 @@ These API endpoints support the query path arguments as defined below:
91
91
- ` :version ` - Semantic Versioning (SemVer) compatible application version number
92
92
93
93
94
+ ## Asset Naming Convention
95
+
96
+ This project supports specific naming conventions for GitHub Releases assets.
97
+
98
+ The following heuristics are used to identify update availability for a specific platform and architecture:
99
+
100
+ ### macOS Assets
101
+ - Asset must be a ` .zip ` file.
102
+ - Asset name must include one of the following platform identifiers: ` -mac ` , ` -darwin ` , or ` -osx ` .
103
+ - Asset name may specify the architecture (if not specified, will default to ` -x64 ` ):
104
+ - ` -arm64 ` for Apple Silicon.
105
+ - ` -x64 ` for Intel-based macOS.
106
+ - ` -universal ` for Universal binaries.
107
+ ** Example asset names:**
108
+ - ` app-mac-arm64-0.0.1.zip `
109
+ - ` app-mac-arm64.zip `
110
+ - ` app-0.0.1-osx-x64.zip `
111
+ - ` app-osx-x64.zip `
112
+ - ` app-darwin-universal.zip `
113
+ - ` app-mac.zip ` (no architecture specified - treated as ` -x64 ` )
114
+
115
+ ### Windows Assets
116
+ - Asset must be a ` .zip ` or ` .exe ` file.
117
+ - Asset name must include the ` -win32 ` platform identifier.
118
+ - Asset name may specify the architecture (if not specified, will default to ` -x64 ` ):
119
+ - ` -ia32 ` for 32-bit Windows.
120
+ - ` -x64 ` for 64-bit Windows.
121
+ - ` -arm64 ` for ARM-based Windows.
122
+ - ` .exe ` files without specific architecture tags or the ` -win32 ` platform identifier are assumed to be ` -x64 ` by default.
123
+
124
+ ** Example asset names:**
125
+ - ` app-win32-ia32-0.0.1.zip `
126
+ - ` app-win32-ia32.zip `
127
+ - ` app-0.0.1-win32-x64.zip `
128
+ - ` app-win32-x64.zip `
129
+ - ` app-win32-arm64.zip `
130
+ - ` app-win32-arm64.exe `
131
+ - ` app-win32-arm64-v1.2.3.exe `
132
+ - ` app-win32.exe ` (no architecture specified - treated as ` -x64 ` )
133
+ - ` app-installer.exe ` (generic ` .exe ` file with no architecture or platform identifier specified - treated as ` -x64 ` )
134
+
94
135
## Development
95
136
96
137
You'll first need to have a running Redis server. There are two options:
0 commit comments