Skip to content

Commit b656a34

Browse files
committed
fix: manifest.json template - appType must be string, version must be clientVersion
ManifestInfo.AppType is a string field (enum name parsed via Enum.TryParse), and the version field key is 'clientVersion' not 'version'. Updated template to match actual deserialization. Discovered and verified via end-to-end integration test: Server → Client → Download → SHA256 verify → Extract → all pass
1 parent ec9b094 commit b656a34

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.claude/scripts/generate/templates/manifest.json.template

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"mainAppName": "{{PROJECT_NAME}}.exe",
33
"updateAppName": "Upgrade{{PROJECT_NAME}}.exe",
44
"updatePath": "./update/",
5-
"appType": 1,
6-
"version": "{{CLIENT_VERSION}}",
5+
"appType": "Client",
6+
"clientVersion": "{{CLIENT_VERSION}}",
77
"productId": "{{PRODUCT_ID}}"
88
}

0 commit comments

Comments
 (0)